Skip to content

gitbounties/contracts

Repository files navigation

contracts

smart contracts for gitbounties

Running for development

Build contracts

forge build

Deploying on anvil test net

Start an anvil test net instance

anvil

Grab a private key that is outputted and run the following

PRIVATE_KEY=<private_key> just deploy-anvil

You can now use cast to interact with deployed contracts. For example, we can first mint a new NFT

cast send <nft-contract-addr> "mint()" --private-key <private_key>

Then we can check the owner of the NFT

cast call <nft-contract-addr> "ownerOf(uint256)" 1

Credits

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published