GithubHelp home page GithubHelp logo

gravyminer's Introduction

gravyminer

Mine GRV with Nodejs

GRAVY is a HFT Trading strategy on the EOS main-net. Its business logic is driven by miners who push mine actions to the chain at regular intervals. The more mine actions pushed to the system, the greater the probability of earning arbitrage profits by the trading strategy.

The GRAVYMINER is a Nodejs script which pushes mine actions at regular intervals to the GRAVY mining contract (gravyhftdefi). Miners donate their CPU resources and receive GRV in return for each successful mine action. GRV can be staked in order to earn a portion of EOS trading profits.

How to Mine GRV

Step 1: Register miner by pushing regminer action to gravyhftdefi contract e.g.

cleos push action gravyhftdefi regminer '["youracct","8,GRV"]' -p youracct@active

Step 2: Replace your account name (arb_account) and private key (pk) in miner.js

Step 3: Replace your preferred api node endpoint in miner.js

Step 4: Install dependencies

npm install eosjs node-fetch

Step 5: Start mining!!

node miner.js &> miner.log

How to Stake GRV

Step 1: Mine or buy some GRV

Step 2: Push the stakegrv action e.g.

cleos push action gravyhftdefi stakegrv '["youracct","10.00000000 GRV"]' -p youracct@active

Step 3: Each day EOS rewards are paid out pro-rata to your stake (4% of total staking reward pool is paid out daily)

How to Unstake GRV

Step 1: Begin unstaking process

cleos push action gravyhftdefi unstakegrv '["youracct","10.00000000 GRV"]' -p youracct@active

Step 2: Wait 24 hours...

Step 3: Complete unstake by pushing refundgrv action

cleos push action gravyhftdefi refundgrv '["youracct"]' -p youracct@active

gravyminer's People

Contributors

gravytrainproject avatar natpdeveloper 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.