@passive-income/launchpad-contracts

1.0.2 • Public • Published

Launchpad contracts

This project is using Hardhat for development, compiling, testing and deploying. The development tool used for development is Visual Studio Code which has great plugins for solidity development and mocha testing.

Contracts

Compiling

Introduction to compiling these contracts

Install needed packages

npm install or yarn install

Compile code

npx hardhat compile

Test code

npx hardhat test

Run a local development node

This is needed before a truffle migrate to the development network. You can also use this for local development with for example metamask. Hardhat node guide

npx hardhat node

Scripts

Use the scripts in the "scripts" folder. Each script has the command to start it on top.

Make sure you have set the right settings in your '.env' file. You have to create this file with the following contents yourself:

BSC_PRIVATE_KEY=<private_key>
BSC_TEST_PRIVATE_KEY=<private_key>

BSC_API_TOKEN=<bscscan_api_token>

Flatten contracts

npx hardhat flatten contracts/DPexRouter.sol > contracts-flattened/DPexRouter.sol

Readme

Keywords

none

Package Sidebar

Install

npm i @passive-income/launchpad-contracts

Weekly Downloads

4

Version

1.0.2

License

GPL-3.0-or-later

Unpacked Size

19.3 MB

Total Files

557

Last publish

Collaborators

  • admin-passive-income
  • pkmelee337