Starknet-Foundry template
Starknet-Foundry template
Simple template of a Cairo contract built using Starknet-Foundry The example shows a simple multi-send contract, receiving an ERC20 address, and a list of recipients, and sends tokens to recipients according to the list
This repo requires Scarb 2.3.1
This repo requires sn-foundery 0.10.2
Install Scarb with:
asdf plugin add scarb
asdf install scarb latest
(See more instructions for asdf-scarb installation
Install Starknet-Foundry with:
curl -L https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/install.sh | sh -s -- -v 0.10.2
(More instructions for snforge)
Disclaimer
This is just an example, more features will be added as the language is improved while keeping it minimal
Building
scarb build
Testing
snforge
Deployment
Deployment is handled by sncast
. See scripts.md
for examples
Thanks
If you like it then you shoulda put a ⭐ on it