👀 Visit us here: https://pandora.on.fleek.co/
or here: https://pandora-nft.vercel.app/
📱 Available on
- Binance Smart Chain (Testnet)
- Polygon (Testnet)
- Avalanche (Testnet)
📈 Subgraph:
- https://thegraph.com/hosted-service/subgraph/pannavich/pandora-nft-chapel
- https://thegraph.com/hosted-service/subgraph/pannavich/pandora-nft-mumbai
- https://thegraph.com/hosted-service/subgraph/pannavich/pandora-nft-fuji
You can visit our deployed website and start playing around with its functionality or read more about us here. There is also free mock nfts faucet for testing purpose in the profile/nft page.
- yarn
- hardhat
- solidity
Go to website repository here and clone to your local machine
yarn
You need to add your environment variables to the
.env.local file:
NEXT_PUBLIC_MORALIS_SERVER_URL=https://xxxxxxxx.usemoralis.com:2053/server
NEXT_PUBLIC_MORALIS_APP_ID=abdsafasfcasFADSFSAFAgkfldsgj
NEXT_PUBLIC_BSCTESTNET_RPC_URL=https://speedy-nodes-nyc.moralis.io/<YOUR_NODE_ID>/bsc/testnet
NEXT_PUBLIC_MUMBAI_RPC_URL=https://speedy-nodes-nyc.moralis.io/<YOUR_NODE_ID>/polygon/mumbai
NEXT_PUBLIC_FUJI_RPC_URL=https://speedy-nodes-nyc.moralis.io/<YOUR_NODE_ID>/avalanche/testnet
yarn dev
then visit http://localhost:3000/
Go to contracts repository here and clone to your local machine
You need to add your environment variables to the .env file,
PRIVATE_KEY=
MUMBAI_URL=
BSC_TESTNET_URL=
FUJI_URL=
POLYGONSCAN_API_KEY=
BSCSCAN_API_KEY=
SNOWTRACE_API_KEY=
The must add is PRIVATE_KEY for signing the smartcontract.
and the RPC URL of your choice, otherwise you can easily get all of them by register with Moralis and get the speedy nodes.
The XXX_API_KEY is for verifying smartcontract deployment.
yarn hardhat run scripts/getMockNFT.ts --network <NETWORK_OF_YOUR_CHOICE>
You will get mock nfts, and now you are ready to play with the Pandora NFT Lootbox 🎉