StarknetByExample icon indicating copy to clipboard operation
StarknetByExample copied to clipboard

A collection of examples of Cairo smart contracts for Starknet.

Results 43 StarknetByExample issues
Sort by recently updated
recently updated
newest added

> I don't know when it changed but now you must use the [specific version](https://github.com/NethermindEth/StarknetByExample/blob/main/.github/workflows/install-mdbook/action.yml), in a specific OS Ubuntu 22.04.3 LTS, to generate the correct .pot and .po files....

Could be a section in chapter 0 with lots of small, concise examples (Similar to Solidity By Example) showing the multiple uses possible of various useful Cairo syntax. Non-exhaustive list:...

Add a new chapter or complete the interface one to explain ABI generation, the usage of `#[abi(embed_v0)]` or `#[abi(per_item)]`.

Collection of interesting contracts with links to it on Voyager

Most of the current listings do not have tests. Adding tests would ensure that we have not left any logic errors that could confuse readers later on. We need to...

good first issue

Currently we use `scarb` to handle listings. [Starknet Foundry](https://github.com/foundry-rs/starknet-foundry) is a toolkit specifically for Starknet contracts. It may be useful to use cheatcodes for test and show best practices. The...

Explore the possibility of importing a scarb project directly in remix with a link [Remix documentation](https://remix-ide.readthedocs.io/en/latest/locations.html) Remix is also open to contribution: https://github.com/ethereum/remix-project Related to #60 #67

This example will show how we can send a message to L2 from L1 and execute a function from a L2 contract annotated with `#[l1_handler]`. We will provide both Solidity...