Skip to content

Beyond-Trade/TGE-Staking

Repository files navigation

There are two major contracts in contracts/BYN.sol

  • Staking
  • StakingFactory

The StakingFactory receives a rewardToken and deploys a Staking contract for each Staking token in which the currency is staked.

Running Instructions

Run truffle migrate.

Copy the contract addresses into the client/src/config.js

cd client

yarn start

Contract

Documentation

Running Frontend

  • Run Test network with Ganache or use: npm run test:ethereum
  • Migrate the contract with: truffle compile && truffle migrate
  • Run the frontend: cd client && yarn start (Note: run yarn before. Docs)