- All-in-One Dashbord: Access all info in one place: NFTs, Tokens, Staking and more!
- Stake your tokens in different pools, with different yields.
- Select an NFT from a compatible collection to gain some extra staking yield!
Brain new All-in-One wallet for your favorite Lepricon ecosystem! Accessible on the Polygon Network. Your Lepricon NFTs emitted on Ethereum are also compatible, thanks to our cross-chain wallet!
💿 Clone the repo and install all dependencies:
git clone https://github.com/superultra-io/Lepricon-Dashboard.git
cd Lepricon-Dashboard
yarn install
✏ Edit the .env.example
file in the main folder with all required info. Don't forget to remove .example
!
🔎 Locate the file constant.js in src/data/constant.ts
and paste your smart-contracts addresses;
// Production => Polygon
export const TOKEN = "";
export const LEPRICON_NFT = "";
export const STAKING = "";
// Development => Mumbai
export const TOKEN_TEST = "";
export const LEPRICON_NFT_TEST = "";
export const STAKING_TEST = "";
🔎 Locate the file constant.js in src/data/abis
and paste your ABIs if you've made any changes to the smart-contracts;
export const NFT_ABI = ["NFT ABI here...];
🚴♂️ Run your App:
Dev. mode:
yarn dev
Prod. mode:
yarn start
💿 Move the the hardhat
folder and install all dependencies:
cd hardhat
yarn install
✏ Edit the .env.example
file in the main folder with all required info. Don't forget to remove .example
!
✏ Edit the hardhat.config.ts as needed, if needed, then make sure to select the correct network in the package.json script
section.
"scripts": {
...
"deploy": "hardhat run --network mumbai scripts/deploy.ts",
...
},
💿 Test that everything is working as intended:
yarn test
💿 Deploy your contracts:
yarn deploy