wzor / WEquilCoin-deploy

Creation of a Polygon Network ERC20 token using Remix and Moralis. Solidity as the programming language. One of the feature of this coin is the pay-splitter attribute whereby the payer could initiate payment to the payee without understanding/concerned how tokens are shared between Payee in an assigned ratio. With the help of OpenZepplin the ERC20 contract and the PaymentSplitter contract is therefor merged to create this token on the Polygon Network.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WEQUIL COIN PROJECT

Creation of a Polygon Network ERC20 token using Hardhat. Solidity as the programming language. One of the feature of this coin is the pay-splitter attribute whereby the payer could initiate payment to the payee without understanding/concerned how tokens are shared between Payee in an assigned ratio. With the help of OpenZepplin...

TOOLS

  • Hardhat: compile and run the smart contracts on a local development network
  • Ethers: renowned Ethereum library and wallet implementation
  • Waffle: tooling for writing comprehensive smart contract tests
  • Solhint: linter
  • Prettier Plugin Solidity: code formatter

Quick start

The first things you need to do are cloning this repository and installing its dependencies:

Clone the repo:
git clone https://github.com/ChidiChuks/WEquilCoin.git
or
git clone https://github.com/InnoOkeke/WEquilCoin.git
cd WEquilCoin

Install the dependencies:
yarn

Once installed, let's run Hardhat's testing network:

npx hardhat node

Then, on a new terminal, go to the repository's root folder and run this to deploy your contract:

npx hardhat run scripts/deploy.js --network localhost

Test

Run the Mocha tests:

$ yarn test

Deploy contract to netowrk (requires Mnemonic and infura API key)

npx hardhat run --network rinkeby ./scripts/deploy.ts

Validate a contract with etherscan (requires API key)

npx hardhat verify --network <network> <DEPLOYED_CONTRACT_ADDRESS> "Constructor argument 1"

About

Creation of a Polygon Network ERC20 token using Remix and Moralis. Solidity as the programming language. One of the feature of this coin is the pay-splitter attribute whereby the payer could initiate payment to the payee without understanding/concerned how tokens are shared between Payee in an assigned ratio. With the help of OpenZepplin the ERC20 contract and the PaymentSplitter contract is therefor merged to create this token on the Polygon Network.


Languages

Language:Solidity 98.4%Language:JavaScript 1.6%