Skip to content

settlemint/solidity-token-erc721

Repository files navigation

OG

ERC721

A basic ERC721 token contract.

Get started

Launch this smart contract set in the SettleMint Blockchain Transformation platform under the Smart Contract Sets section. This will automatically link it to your own blockchain node and make use of the private keys living in the platform.

If you want to use it separately, bootstrap a new project using

forge init my-erc721-token --template settlemint/solidity-token-erc721

DX: Foundry

Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.

Foundry consists of:

  • Forge: Ethereum testing framework (like Truffle, Hardhat and DappTools).
  • Cast: Swiss army knife for interacting with EVM smart contracts, sending transactions and getting chain data.
  • Anvil: Local Ethereum node, akin to Ganache, Hardhat Network.
  • Chisel: Fast, utilitarian, and verbose solidity REPL.

Documentation

Usage

Build

forge build

Test

forge test

Format

forge fmt

Gas Snapshots

forge snapshot

Anvil

Anvil is a local development node, open a terminal in the IDE and launch anvil. You can then deploy to it using make deploy-anvil

anvil

Deploy

Deploy to a local anvil node:

make deploy-anvil

Deploy to the connected platform node:

make deploy-btp

Cast

cast <subcommand>

Deploy your subgraph

make subgraph

Help

forge --help
anvil --help
cast --help