Skip to content

luiscore9/contracts

 
 

Repository files navigation

IguVerse Contracts

IguVerse is the first blockchain game that links Socialize to Earn, Move to Earn, and Play to Earn mechanics into one gamified app. Mint NFT from your own pet photo or buy a virtual one from marketplace. Collect rewards for different activities such as sharing your pet photos on Instagram and TikTok or walking with your pet.


Getting started

1. Installation:

npm i

2. Create .env file bassed on .env.example . Enter your developer purposes mnemonic phrase(12 words).

3. Compile and Tests

npm run compile
npm run test

4. Generate Documentation

To create documentation run

npm run docgen

Documentation files will appear in the /docs folder, open index.html in a browser to read it.

Also /docs/contracts.json file will be created which contains all deployed contract information (addresses, abis, etc);

5. Local migrations/local deployment

Run local node:

npm run node

It will run local virtual node and deploy contracts

6. Testnet/production deployment

Make sure that first account (id[0]) for selected mnemonic has a native currency on selected network. Use a faucets for a testnets.

Testnet deployment:

npm run testnet

Production deployment (using MNEMONIC_MAINNET)

npm run mainnet

Deployment info will store on deployments folder

7. Verifying on bscscan

To verify contracts on mainnet run:

npm run verify

Remix

remixd -s ~/Projects/iguverse-contracts --remix-ide https://remix.ethereum.org

Mainnet

Crowdsale contract

0x80c0b0e2661404D5c48d00B5469538B418E6ed51

About

Public repository of IguVerse.com contracts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 69.6%
  • TypeScript 29.8%
  • Other 0.6%