- Clone project
git clone https://github.com/codeWhizperer/ERC721-AIRDROP
- Change directory into working project
cd ERC721-AIRDROP
-
Set up starknet-foundry account for declaration of contract: https://foundry-rs.github.io/starknet-foundry/starknet/account.html
-
Set up profile in scarb.toml for contract declaration
# ...
[sncast.myprofile]
account = "user"
accounts-file = "~/my_accounts.json"
url = "http://127.0.0.1:5050/rpc"
# ...
Reference starknet-foundry for more information
- Declare contract via the command below:
sncast --profile <profile> declare --contract-name <contract_name>
- Deploy Contract: