Thanks to visit codestin.com
Credit goes to github.com

Skip to content

castcle/castcle-protocol

Repository files navigation

Castcle Protocol

Installation

On Linux and macOS

Install the latest release by using foundryup

# Open your terminal and type in the following command:
$ curl -L https://foundry.paradigm.xyz | bash

# This will download foundryup. Then install Foundry by running:
$ foundryup

For detailed explanation on how things work, check out the documentation.

Build Contract

$ forge build

Deploy Contract

The path to the contract is in the format :, e.g. src/Contract.sol:Contract

$ forge create src/Cast.sol:Cast --private-key=WALLET_PRIVATE_KEY

The deployed NFT contract address is the field of Deployed to in result

Deployer: 0x0000000000000000000000000000000000000000
Deployed to: 0x0000000000000000000000000000000000000000
Transaction hash: 0x0000000000000000000000000000000000000000

Generate Contract's ABI only

$ forge inspect Cast abi | tee CastABI.json

Remove the Build Artifacts and Cache Directories.

$ forge clean

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published