Moonery is a community-driven, no-loss price game and no-loss pool launchpad
Moonery is a community-driven, no-loss price game and no-loss pool launchpad
The guides in the OpenZeppelin docs site will teach how to deploy and interaction to smart contract.
- Make sure you have node v12.8.3 or higher, check it with
node --version
- Install packages
yarn
-
Download, install and open Ganache
-
Compile solidity with hardhat
yarn compile
- Deploy smart contracts to your localhost Hardhat
yarn deploy
result of your deployment:
yarn run v1.22.10
warning ../../../package.json: No license field
$ npx hardhat run scripts/deploy.js
Moonery deployed to: 0x4A679253410272dd5232B3Ff7cF5dbB88f295319
✨ Done in 9.05s.
Running unit test
yarn test
Running test coverage
yarn coverage
Lint solidity
yarn lint:sol
see also Connecting to public test networks
To send transactions in a testnet, you will need a new Ethereum account using mnemonics package
yarn mnemonics
drama film snack motion ...
cp secrets.json.example secrets.json
Copy your mnemonics words to secret.json
Using Binance Testnet Faucet or using MetaMask’s faucet
yarn truffle migrate --network binance_testnet
- Generate an API Key on your BSCscan account
If you don't have one yet, just go to this page to sign up.
Add your BSCscan API key to your secrets.json
- Deploy your contract
yarn compile
yarn deploy:testnetya
or
truffle compile
truffle migrate --network testnet
- Verify your contract
npx hardhat verify --network testnet 0x34602183Bc6F93631a0e85EBFD50ECA0DC3CA668 "0xD99D1c33F9fC3444f8101754aBC46c52416550D1"
truffle run verify Moonery@0x5EB91bE972486007908B5749e93fa1F4165B657c --network testnet
If you find a security issue, please join our Discord
- Ask for help and follow progress at: Discord
Interested in contributing to MOONERY?
- Issue tracker: issues
- Contribution guidelines: contributing
Code released under the MIT License.