Giter Site home page Giter Site logo

tachyonic-hash / yearn-finance Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yearn/yearn-finance

0.0 0.0 0.0 6.15 MB

๐Ÿฆ yearn v2 web interface

Home Page: https://yearn.finance

License: MIT License

JavaScript 98.02% HTML 0.29% Handlebars 1.59% Dockerfile 0.02% Shell 0.08%

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

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