Skip to content

ZillionWhalesLtd/WildForest-SmartContract

Repository files navigation

zillion-whales-smart-contracts

PROXY:

RELEASED UNIT NFT (PROXY based ERC721):


Self Claim


RELEASED SKIN NFT (PROXY based ERC721):


Self Claim


RELEASED LORD NFT (PROXY based ERC721):

RELEASED LORD STAKE (PROXY custom):

RELEASE PACK NFT (PROXY based ERC1155):

Beta Unit NFT (ERC721):


Self Claim


Beta $WF Tokens (ERC20):


Self Claim


SIGNAL FIRE (PROXY custom):

OUTDATED SMART-CONTRACTS (before we switched to Proxy):

NFTs (Skins):

NFTs (Packs):

NFTs (Packs ERC1155):

NFT With defined tokenURI (Lords):

NFT With Time lock:

Medals (ERC1155):

Sales Factory:

EXAMPLE OF SALE:

Install

npm i

Api keys (Not Required for Ronin network)

You will need some api keys in your env to be able to deploy/verify the contract on different chain

Faucets (testnets)

You will need have a wallet with some balance to be able to deploy to different networks

Slither (the smart contract static analyzer)

Source Github

Install:

pip3 install slither-analyzer

Run with MD format report:

slither . --checklist

Usage

TODO: provide example url

Example of an minted NFT on Saigon: https://

TODO: provide example url To interract with the contract in javascript you will need the ABI file (scroll to the bottom, and copy the ABI).

Deploy

Deploy the contract on the desired chain

npm run deploy # deploying on localhost (hardhat VM)

npm run hardhat -- --network mumbai deploy
npm run hardhat -- --network <network> deploy # deploying to one of the configured network

Networks configuration

In the hardhat.config.js

{
  networks: {
    goerli: {
      url: "<rpc url>",
      accounts: [privateKey]
    }
  }
}

Compile Manually

You can compile the contract by running

npm run compile

Test & Coverage

Test are provided by chai whith matchers included in Hardhat, the coverage is also included.

npm test

You can also run the test with a summary of Gas used

npm run gasreport

Prettier & Lint

npm run Format # format the code
npm run lint # check with solhint

Verification

Verify the contract on etherscan

npm run hardhat -- verify --network mumbai <DEPLOYED_CONTRACT_ADDRESS>

Verify the contract on Saigon network

npm run hardhat --network saigon sourcify --endpoint https://sourcify.roninchain.com/server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published