token_sender 0.5.1

Readme

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 showcases using fork tests and fuzz tests, as well as a simple CI configuration.

  • This repo requires Scarb 2.11.4
  • This repo requires sn-foundry 0.43.0

Install Scarb with:

asdf plugin add scarb
asdf install scarb latest

(See more instructions for asdf-scarb installation

Install Starknet-Foundry with:

asdf plugin add starknet-foundry
asdf install starknet-foundry latest

(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 test

Deployment

Deployment is handled by sncast. See scripts.md for examples

Thanks

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

Metadata

Version 0.5.1

Uploaded 1 week ago

License MIT

Size 4.7 KB

Installation

Run the following command in your project dir

scarb add token_sender@0.5.1

Or add the following line to your Scarb.toml

token_sender = "0.5.1"

Monthly downloads

Links

Owners