Code Monkey home page Code Monkey logo

geyser-on-polygon's Introduction

Geyser on Polygon


【Introduction of the Geyser on Polygon】

  • This repo is the Geyser's smart contract integration with Polygon (Matic) network.
    • Geyser ( https://www.gysr.io/ ) is an open platform for yield farming and token distribution.
    • But, that is only deployed on Mainnet. Therefore, users need to pay high gas fees and wait for long time to finalize transactions.
    • To solve this issue from user perspective, I try to do that Geyser's smart contract works on Polygon. (Polygon mumbai testnet)

 


【Workflow】

  • Diagram of workflow 【Diagram】Geyser on Polygon

 


【Remarks】

  • Version for following the Geyser smart contract
    • Solidity (Solc): v0.6.11
    • Truffle: v5.1.60
    • web3.js: v1.2.9
    • openzeppelin-solidity: v3.2.0
    • ganache-cli: v6.9.1 (ganache-core: 2.10.2)

 


【Setup】

① Install modules

  • Install npm modules in the root directory
npm install

② Compile contracts

  • on Polygon (Matic) mumbai testnet
npm run compile:polygon_testnet

【Script for demo】on Polygon (Matic) mumbai testnet


  • ③ In advance, Please check MATIC token balance of executor's wallet address .

  • ③ Execute script on Polygon (Matic) mumbai testnet (※ This script include deployment of smart contracts on Polygon)
npm run script:Geyser

【Demo】



【References】


geyser-on-polygon's People

Contributors

masaun avatar

Watchers

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