Coder Social home page Coder Social logo

unbanksytv / abachi-redemption-contracts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abachi-io/abachi-redemption-contracts

0.0 1.0 0.0 389 KB

aABI to ABI Redemption Contracts

License: GNU Affero General Public License v3.0

Shell 0.12% JavaScript 18.39% Solidity 81.49%

abachi-redemption-contracts's Introduction

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.

abachi-redemption-contracts's People

Contributors

0xigor avatar faysalm avatar skytradeinc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.