Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1.15 KB

README.md

File metadata and controls

40 lines (23 loc) · 1.15 KB

RadioStar ERC-1155 Implementation

Dappcamp4 Team Project.

Setup

Foundry

forge install foundry-rs/forge-std openzeppelin/[email protected] Brechtpd/base64 --no-commit

Run Tests

forge test [-vv[v]]

Run with -vv level or greater to see console.log output.

Useful References

Smart Contract deployment

  1. Deploy Contract and Verify
forge create --rpc-url <your_rpc_url> --constructor-args "" --private-key <your_private_key> src/RadioStar.sol:RadioStar --etherscan-api-key <your_etherscan_api_key>  --verify
  1. Call createRadioStar()
cast send <contract_address> "createRadioStar(uint256,uint256)" 10 10000000 --rpc-url <your_rpc_url> --private-key <your_private_key>

Deployed Versions