Skip to content

energicryptocurrency/launchpad-contracts

Repository files navigation

GMI Launchpad contracts

This repo contains all contracts related to the GMI Launchpad project

Project Status

The GMI Launchpad Contracts repo is under active maintenance by Energi

Authors and acknowledgment

Quickstart

Requirements

  • node v18.17.0
  • yarn v1.22.19

Clone the repo

clone the repo

Setup env file

cp .env.example .env

Install all dependencies

yarn

Setup enviorment variables in .env

INFURA_PROJECT_ID='Infura project id'
WALLET_PRIVATE_KEY='Your wallet private key'
ETHERSCAN_API_KEY='Etherscan api key'

Run test cases

yarn test

Format code

yarn lint

Deploy standard NFT contracts on testnet

npx hardhat run scripts/deploy-erc721.js --network energiTestnet

Deploy 100% refundable NFT contracts on testnet

npx hardhat run scripts/deploy-erc721r.js --network energiTestnet

Deploy 80% refundable NFT contracts on testnet

npx hardhat run scripts/deploy-erc721r80.js --network energiTestnet

Deploy standard NFT contracts on mainnet

npx hardhat run scripts/deploy-erc721.js --network energiMainnet

Deploy 100% refundable NFT contracts on mainnet

npx hardhat run scripts/deploy-erc721r.js --network energiMainnet

Deploy 80% refundable NFT contracts on mainnet

npx hardhat run scripts/deploy-erc721r80.js --network energiMainnet

Deploy standard ERC721C NFT contract

npx hardhat run scripts/erc721c/deploy-erc721c.js --network <network name>

Deploy 100% refundable ERC721C NFT contract

npx hardhat run scripts/erc721c/deploy-erc721rc.js --network <network name>

Deploy 80% refundable ERC721C NFT contract

npx hardhat run scripts/erc721c/deploy-erc721r80c.js --network <network name>

Documentation

Details of contracts and available functions can be found in the following documents:

NOTE: Contracts with C in there names follows ERC721C standard where trading of those NFTs is limited to selected marketplaces.

License

GMI Launchpad Contracts repo is available under the MIT license. See the LICENSE file for more info.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published