Skip to content

unbanksytv/abachi-redemption-contracts

 
 

Repository files navigation

Abachi Redemption Smart Contracts

Table of Contents

Required Tools

  • Node v14
  • Git

Getting Started

Setup

git clone https://github.com/abachi-io/abachi-redemption-contracts.git

cd abachi-redemption-contracts

npm i

cp .env.example .env
  • Edit .env file
  • Edit scripts/deployAll.js and fill out //required addresses

Compile Contracts

npx hardhat compile

Deploy

npx hardhat run scripts/deployAll.js --network [NETWORK]

Verify Contracts on Etherscan/Polyscan (optional)

npx hardhat verify --network [NETWORK] [CONTRACT ADDRESS] [CONSTRUCTOR PARAM 1] [CONSTRUCTOR PARAM 2]

Test contracts

npx hardhat test

  • To test using a local chain, add a comma separated list of private keys from the local rpc server
  • Update default network in hardhat config file to localhost

Contracts

Matic Mainnet (Polygon)

Contract Address
Abachi Redemption TBA

Contribution

Thank you for considering to help out with the source code! We welcome contributions from anyone on the internet, and are grateful for even the smallest of fixes!

If you'd like to contribute to Abachi, please fork, fix, commit and send a pull request for the maintainers to review and merge into the main code base.

Please make sure your contributions adhere to our coding guidelines:

  • Pull requests need to be based on and opened against the master branch.
  • Pull request should have a detailed explanation about the enhancement or fix
  • Commit messages should be prefixed with the file they modify.

Please see the First Contributer's Guide for more details on how to configure your git environment.

About

aABI to ABI Redemption Contracts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 81.5%
  • JavaScript 18.4%
  • Shell 0.1%