Skip to content

Split cairo-contracts skill #293

Description

@rsodre

Problem

The cairo-contracts skill mixes cairo language with cairo contract creation. It's lacking on the language part, and the contract creation can be contradictory when using Dojo, as it offers its own storage and event models.

Proposed solution

Split it into different skills...

  • cairo-language: basically the The Cairo Programming Language section of the Cairo Book
  • cairo-components: How components work, how to create and how to add them into existing contracts. As an addendum, adding OpenZeppelin component examples, like introspection, ownable, erc-20, erc-721.
  • cairo-contracts: Cairo contracts architecture, and how to create and interact with them.
  • cairo-contracts-dojo: Dojo contracts architecture, how it differs from native Cairo contracts, and how to create, deploy and interact with them. Link to the main Dojo skills repository for more information. (@kronosapiens could help)

Acceptance test

Notes / links

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions