Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Template for creating Cairo Starknet contract projects with Scarb

License

Notifications You must be signed in to change notification settings

amanusk/scarb-contract-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ This is now archived. Use Starknet-Foundry tempalte instead

Cairo Contract template with Scarb PRs Welcome example workflow License: MIT

Simple template of a Cairo 1.0 contract built with Scarb The example shows a contract that receives an ERC20 address and a list of addresses to send tokens to

This repo requires Scarb 0.5.1

Install Scarb with:

asdf plugin add scarb
asdf install scarb latest

(See more instructions for asdf-scarb installation

Disclaimer

This is just an example, more features will be added as the language is improved while keeping it minimal

Building

scarb build

Testing

scarb test

Running the scripts

The scripts use starknet-rs to interact with the network

Build the scripts with cargo build --release

Thanks

If you like it then you shoulda put a ⭐ on it

About

Template for creating Cairo Starknet contract projects with Scarb

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published