Skip to content

enjinstarter/enjinstarter-tge-contracts

Repository files navigation

enjinstarter-tge-contracts

Environment Variables

  • BLOCKCHAIN_PLATFORM: BSC or ETH
  • BSCSCAN_API_KEY: BscScan API Key to verify contracts
  • COINMARKETCAP_API_KEY: CoinMarketCap API Key to fetch gas price
  • ETHERSCAN_API_KEY: Etherscan API Key to verify contracts
  • INFURA_PROJECT_ID: Infura Project ID to deploy contracts
  • BSC_MAINNET_EJS_TOKEN_ADDRESS: BSC Mainnet EJS Token address
  • BSC_MAINNET_LAUNCHPAD_CROWDSALE_ADMIN: BSC Mainnet Launchpad Crowdsale Admin address
  • BSC_MAINNET_LAUNCHPAD_CROWDSALE_WALLET: BSC Mainnet Launchpad Crowdsale Wallet address
  • BSC_MAINNET_LAUNCHPAD_WHITELIST_ADDRESS: BSC Mainnet Launchpad Whitelist address
  • BSC_MAINNET_LAUNCHPAD_WHITELIST_ADMIN: BSC Mainnet Launchpad Whitelist Admin address
  • BSC_MAINNET_PRIVATE_KEY: Private Key to deploy contracts to BSC Mainnet
  • BSC_MAINNET_SALE_TOKEN_ADDRESS: BSC Mainnet Sale Token address
  • BSC_MAINNET_VESTING_ADMIN: BSC Mainnet Vesting Admin address
  • BSC_TESTNET_EJS_TOKEN_ADDRESS: BSC Testnet EJS Token address
  • BSC_TESTNET_GENESIS_SHARDS_WALLET: BSC Testnet Genesis Shards Wallet address
  • BSC_TESTNET_LAUNCHPAD_CROWDSALE_ADMIN: BSC Testnet Launchpad Crowdsale Admin address
  • BSC_TESTNET_LAUNCHPAD_CROWDSALE_WALLET: BSC Testnet Launchpad Crowdsale Wallet address
  • BSC_TESTNET_LAUNCHPAD_WHITELIST_ADDRESS: BSC Testnet Launchpad Whitelist address
  • BSC_TESTNET_LAUNCHPAD_WHITELIST_ADMIN: BSC Testnet Launchpad Whitelist Admin address
  • BSC_TESTNET_PRIVATE_KEY: Private Key to deploy contracts to BSC Testnet
  • BSC_TESTNET_SALE_TOKEN_ADDRESS: BSC Testnet Sale Token address
  • BSC_TESTNET_VESTING_ADMIN: BSC Testnet Vesting Admin address
  • MAINNET_CROWDSALE_ADMIN: Mainnet Crowdsale Admin address
  • MAINNET_CROWDSALE_WALLET: Mainnet Crowdsale Wallet address
  • MAINNET_EJS_TOKEN_ADDRESS: Mainnet EJS Token address
  • MAINNET_FINA_CROWDSALE_ADMIN: Mainnet FINA Crowdsale Admin address
  • MAINNET_FINA_CROWDSALE_WALLET: Mainnet FINA Crowdsale Wallet address
  • MAINNET_FINA_WHITELIST_ADDRESS: Mainnet FINA Whitelist address
  • MAINNET_FINA_WHITELIST_ADMIN: Mainnet FINA Whitelist Admin address
  • MAINNET_GAIA_CROWDSALE_ADMIN: Mainnet GAIA Crowdsale Admin address
  • MAINNET_GAIA_CROWDSALE_WALLET: Mainnet GAIA Crowdsale Wallet address
  • MAINNET_GENESIS_SHARDS_WALLET: Ropsten Genesis Shards Wallet address
  • MAINNET_LAUNCHPAD_CROWDSALE_ADMIN: Mainnet Launchpad Crowdsale Admin address
  • MAINNET_LAUNCHPAD_CROWDSALE_WALLET: Mainnet Launchpad Crowdsale Wallet address
  • MAINNET_LAUNCHPAD_WHITELIST_ADDRESS: Mainnet Launchpad Whitelist address
  • MAINNET_LAUNCHPAD_WHITELIST_ADMIN: Mainnet Launchpad Whitelist Admin address
  • MAINNET_PRIVATE_KEY: Private Key to deploy contracts to Mainnet
  • MAINNET_SALE_TOKEN_ADDRESS: Mainnet Sale Token address
  • MAINNET_VESTING_ADMIN: Mainnet Vesting Admin address
  • MAINNET_WHITELIST_ADDRESS: Mainnet Whitelist address
  • MAINNET_WHITELIST_ADMIN: Mainnet Whitelist Admin address
  • ROPSTEN_CROWDSALE_ADMIN: Ropsten Crowdsale Admin address
  • ROPSTEN_CROWDSALE_WALLET: Ropsten Crowdsale Wallet address
  • ROPSTEN_EJS_TOKEN_ADDRESS: Ropsten EJS Token address
  • ROPSTEN_FINA_CROWDSALE_ADMIN: Ropsten FINA Crowdsale Admin address
  • ROPSTEN_FINA_CROWDSALE_WALLET: Ropsten FINA Crowdsale Wallet address
  • ROPSTEN_FINA_WHITELIST_ADDRESS: Ropsten FINA Whitelist address
  • ROPSTEN_FINA_WHITELIST_ADMIN: Ropsten FINA Whitelist Admin address
  • ROPSTEN_GAIA_CROWDSALE_ADMIN: Ropsten GAIA Crowdsale Admin address
  • ROPSTEN_GAIA_CROWDSALE_WALLET: Ropsten GAIA Crowdsale Wallet address
  • ROPSTEN_GENESIS_SHARDS_WALLET: Ropsten Genesis Shards Wallet address
  • ROPSTEN_LAUNCHPAD_CROWDSALE_ADMIN: Ropsten Launchpad Crowdsale Admin address
  • ROPSTEN_LAUNCHPAD_CROWDSALE_WALLET: Ropsten Launchpad Crowdsale Wallet address
  • ROPSTEN_LAUNCHPAD_WHITELIST_ADDRESS: Ropsten Launchpad Whitelist address
  • ROPSTEN_LAUNCHPAD_WHITELIST_ADMIN: Ropsten Launchpad Whitelist Admin address
  • ROPSTEN_PRIVATE_KEY: Private Key to deploy contracts to Ropsten
  • ROPSTEN_SALE_TOKEN_ADDRESS: Ropsten Sale Token address
  • ROPSTEN_VESTING_ADMIN: Ropsten Vesting Admin address
  • ROPSTEN_WHITELIST_ADDRESS: Ropsten Whitelist address
  • ROPSTEN_WHITELIST_ADMIN: Ropsten Whitelist Admin address
  • POLYGON_MAINNET_LAUNCHPAD_CROWDSALE_ADMIN: Polygon Mainnet Launchpad Crowdsale Admin address
  • POLYGON_MAINNET_LAUNCHPAD_CROWDSALE_WALLET: Polygon Mainnet Launchpad Crowdsale Wallet address
  • POLYGON_MAINNET_LAUNCHPAD_WHITELIST_ADDRESS: Polygon Mainnet Launchpad Whitelist address
  • POLYGON_MAINNET_LAUNCHPAD_WHITELIST_ADMIN: Polygon Mainnet Launchpad Whitelist Admin address
  • POLYGON_MAINNET_PRIVATE_KEY: Private Key to deploy contracts to Polygon Mainnet
  • POLYGON_MAINNET_SALE_TOKEN_ADDRESS: Polygon Mainnet Sale Token address
  • POLYGON_MUMBAI_ALCHEMY_API_KEY: Alchemy API Key to deploy contracts
  • POLYGON_MUMBAI_LAUNCHPAD_CROWDSALE_ADMIN: Polygon Mumbai Launchpad Crowdsale Admin address
  • POLYGON_MUMBAI_LAUNCHPAD_CROWDSALE_WALLET: Polygon Mumbai Launchpad Crowdsale Wallet address
  • POLYGON_MUMBAI_LAUNCHPAD_WHITELIST_ADDRESS: Polygon Mumbai Launchpad Whitelist address
  • POLYGON_MUMBAI_LAUNCHPAD_WHITELIST_ADMIN: Polygon Mumbai Launchpad Whitelist Admin address
  • POLYGON_MUMBAI_PRIVATE_KEY: Private Key to deploy contracts to Polygon Mumbai
  • POLYGON_MUMBAI_SALE_TOKEN_ADDRESS: Polygon Mumbai Sale Token address

Testing

$ npm test

Deployment

Localhost

$ npm run migrate-local

Ropsten

$ npm run migrate-ropsten-all

Mainnet

$ npm run migrate-mainnet-all

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published