Giter Club home page Giter Club logo

yearn-finance's Introduction

yearn.finance

Production Build Deployment Styled With Prettier

Helpful links

Setup

cp .env.sample .env

And then populate .env with your endpoints

Development

$ yarn dev

Testing on mainnet fork

To test the webapp with a local mainnet fork with some pre-filled tokens you can run:

./run_mainnet_fork.sh

The webapp will start in DEV mode and will be available at: http://localhost:3000

The local RPC client (ganache-cli) will be available at: http://localhost:8545

[Important]:

  • SET WEB3_INFURA_PROJECT_ID and ETHERSCAN_TOKEN variables in the .env file.
  • SET WEB3_PROVIDER_HTTPS and WEB3_PROVIDER_WSS variables in the .env file with your alchemy key
  • Set USE_LOCAL_RPC variable to TRUE on .env file.
  • Change Metamask to Localhost RPC endpoint :)

Brownie + dockerized ganache-cli

Install brownie >= 1.13.2

pip install "eth-brownie>=1.13.2"

Connect to your local mainnet-fork:

brownie console

Production

$ yarn build
$ yarn start

Contributing

Code style follows prettier conventions (yarn prettier). Commit messages follow the Conventional Commits spec.

yearn-finance's People

Contributors

dudesahn avatar nymmrx avatar rej156 avatar xgambitox avatar patcito avatar graham-u avatar turtlemoji avatar gotzenx avatar surfer77 avatar alanthecryptodev avatar wirjo avatar jstashh avatar okjintao avatar qq95538 avatar milkyklim avatar mariuspod avatar shuffledex avatar akshaynexus avatar alex-miller-0 avatar faolain avatar bgits avatar dtbuchholz avatar midnightonmars avatar lbertenasco avatar mmv08 avatar pmuens avatar shubham-singh avatar tima-t avatar zenzen-sol avatar zer0cache 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.