• Stars
    star
    125
  • Rank 286,335 (Top 6 %)
  • Language
    TypeScript
  • Created over 3 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Yearn Finance Web App v3

yearn.finance

Note
This version of the frontend has been deprecated in favor of https://github.com/yearn/yearn.fi but can still be accessed here

Contributing

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

Initial Setup

  • Fork the original repo into your GitHub account

  • Clone the forked repo from your GitHub account to your local machine

    git clone https://github.com/<your-gh>/yearn-finance-v3.git
    
  • Set origin to your fork. This is where you push your changes to. This is done automatically by the step above.

    git remote add origin https://github.com/<your-gh>/yearn-finance-v3
    
  • Set upstream to original repo.

    git remote add upstream https://github.com/yearn/yearn-finance-v3.git
    
  • Create .env file in root directory of repo then copy contents of .env.example to .env

    cp .env.example .env
    
    • REACT_APP_INFURA_PROJECT_ID should remain blank because we are currently using Alchemy as our provider
    • REACT_APP_ALCHEMY_API_KEY alchemy api key should be provided by the contributor if he hits api limits

Making Changes

  • Create a new local branch from upstream/develop for each PR that you will submit
    git fetch
    git checkout -b <your branch name> upstream/develop
    
  • Commit your changes as you work
    git add .
    git commit -S -m "message"
    

Pushing Changes to your Repo

  • Commits are squashed when PR is merged so rebasing is optional
  • When ready to push
    git fetch
    git merge upstream/develop
    git push origin <branch-name>
    

Submitting Pull Request

  • Go to your GitHub and navigate to your forked repo
  • Click on Pull requests and then click on New pull request
  • Click on compare across forks
  • Click on compare: and select branch that you want to create a pull request for then click on create pull request

Development

yarn dev

or for Windows:

yarn dev-win
  • To enable Dev Mode set REACT_APP_ALLOW_DEV_MODE=true in your .env
  • Wallet Address Override can be activated by navigating to Settings in the app and clicking Enable Dev Mode

Production

yarn build
yarn start

Translations

We use i18n react with locize cli to update/download translations.

Refer to main repo for documentation: https://github.com/locize/locize-cli

Sync with: yarn syncDevLocales must provide api key

Check sync changes with: yarn checkDevLocales

Download prod locales with: yarn downloadProdLocales

More Repositories

1

yearn-vaults

Yearn Vault smart contracts
Python
522
star
2

yearn-protocol

Yearn smart contracts
Solidity
441
star
3

iearn-finance

Web repository
JavaScript
256
star
4

yearn-security

Security contacts and disclosure reports
195
star
5

yearn-finance

🏦 yearn v2 web interface
JavaScript
169
star
6

brownie-strategy-mix

Python
168
star
7

tokenized-strategy

Contains the Contracts for the Yearn V3 Tokenized Strategy Implementation
Solidity
106
star
8

yearn-vaults-v3

Python
99
star
9

yearn-docs

Old Documentation gitbook for yearn. Replaced by https://github.com/yearn/yearn-devdocs
98
star
10

yearn-exporter

Realtime and historical Yearn metrics
Python
95
star
11

yearn-devdocs

yearn documentation
JavaScript
79
star
12

veYFI

Voting YFI
Python
75
star
13

vaults

Solidity
74
star
14

yearn-pm

72
star
15

itoken

yToken wrappers for automated investment strategy tokenization
JavaScript
72
star
16

yearn-vesting-escrow

token vesting escrow with cliff and clawback
Python
69
star
17

tokenized-strategy-foundry-mix

Create Yearn V3 "Tokenized Strategies" using Foundry
Solidity
63
star
18

tokenized-strategy-periphery

Solidity
60
star
19

yearn-starter-pack

Starter pack strategy for yearn vaults
Solidity
57
star
20

yearn-recycle

dai/usdc/usdt/tusd/ycrv ➝ yusd
Python
56
star
21

yearn-sdk

🦧 SDK for the yearn.finance platform. WIP
TypeScript
53
star
22

ygov-finance

Web repository for yfi staking and voting
JavaScript
50
star
23

ape-tax

TypeScript
46
star
24

YIPS

The Yearn Improvement Proposal repository
HTML
46
star
25

audit

Solidity
37
star
26

woofy

👀 nothing to see here
Python
37
star
27

ycredit.finance

StableCreditProtocol, decentralized lending and AMM platform
Solidity
37
star
28

budget

yearn budget requests and audits
Python
36
star
29

hardhat-monorepo

TypeScript
31
star
30

ydaemon

Next gen API for Yearn
Go
29
star
31

yearn-watch-legacy

Yearn Watch is a tool that provides vault and strategies data for management
TypeScript
29
star
32

web-lib

Context and UI library for Yearn
TypeScript
27
star
33

yearn-meta

🗄 Yearn metadata storage on IPFS (static)
JavaScript
26
star
34

yearn-audits

Collection of published audits
26
star
35

yoracle.link

TWAP based 24 hour oracle for on-chain insurance and lending
Solidity
25
star
36

crv.ape.tax

home for experimental vaults
Solidity
24
star
37

vault-periphery

Solidity
24
star
38

zap

Collection of automated on-chain investment strategies
JavaScript
24
star
39

apr-oracle

On-chain APR aggregator for dYdX, Fulcrum, Compound, and Aave
JavaScript
24
star
40

uniswap-roi

On-chain uniswap ROI pool calculations
JavaScript
23
star
41

yearn-api-archived

Collection of serverless API
JavaScript
23
star
42

yearn.fi

TypeScript
22
star
43

macarena-finance

Macarena finance is a simple UI for Yearn Finance, made to be forked!
TypeScript
21
star
44

ydata

Python
20
star
45

yearn-assets

Repo of yearn assets
Python
19
star
46

yearn-comms

Collection of communication, announcements, tweets, newsletters, and other articles about Yearn and a hosted blog for all translation contributors.
JavaScript
19
star
47

yearn-watch

Yearn Watch is a tool that provides vault and strategies data for management
TypeScript
18
star
48

yearn-subgraph

Subgraph for yearn finance: https://yearn.finance
TypeScript
18
star
49

yinsure-finance

JavaScript
18
star
50

ygenius-brain

Python
17
star
51

yearn-lens

Solidity
16
star
52

eth-allowlist

Solidity
16
star
53

yswap-finance

JavaScript
15
star
54

brownie-wrapper-mix

Python
14
star
55

snapshot-strategy

Python
14
star
56

seafood

Seafood
TypeScript
13
star
57

NFTreasury

NFTreasury is a simple yet powerful treasury management tool, powered by Yearn.
TypeScript
13
star
58

keep3r-jobs

Solidity
11
star
59

ygift

Solidity
10
star
60

yearn-treasury

Solidity
10
star
61

strategies-keep3r

Solidity
9
star
62

Yearn-ERC4626-Router

ERC4626 Router for Yearn V3 vaults.
Solidity
9
star
63

yearn-keeper

self-sustainable keeper bots for yearn vaults and strategies
Python
9
star
64

zaps

Repository for v2 Vaults Zaps
Solidity
9
star
65

web-template

Template for the next projects from Yearn.Finance
TypeScript
8
star
66

ygift-ui

TypeScript
8
star
67

yearn-marketing

This repository includes all marketing issues and workstreams
8
star
68

ycredit-finance

JavaScript
8
star
69

yETH

Vyper
7
star
70

yearn-vaults-descriptions

TypeScript
7
star
71

tokenized-strategy-ape-mix

Python
7
star
72

yPartners

Partners website
TypeScript
6
star
73

yearn-caching-api

🍕 Lightweight Rest API shim for yearn's SDK
JavaScript
5
star
74

yuni.finance

JavaScript
5
star
75

yearn-allowlist

Python
5
star
76

yearn-token

Python
4
star
77

yearn-data

🗄 Yearn live data storage on AWS (dynamic)
TypeScript
4
star
78

iliquidate-finance

JavaScript
4
star
79

ileverage-finance

JavaScript
4
star
80

yBuyback

TypeScript
4
star
81

yearn-multisig-actions

Template repository for Gnosis multisignature wallet automation with eth-brownie and GitHub Actions
Python
4
star
82

iborrow-finance

JavaScript
4
star
83

ygenius-webui

JavaScript
4
star
84

yearn-exporter-api

Python
3
star
85

ySync

TypeScript
3
star
86

yCRV

The best crv yields in defi. mic drop
TypeScript
3
star
87

yearn-workflows

Github actions workflows
Python
3
star
88

governance

JavaScript
3
star
89

tokenlist

2
star
90

JuicedVaults

Freshly squeezed and bursting with yield.
TypeScript
2
star
91

yearn-mainnet-fork

Python
2
star
92

api.yuni.finance

JavaScript
2
star
93

yearn-stb

Yearn Stake the Bridge Setup for Polygon CDK
Solidity
2
star
94

yETH-periphery

Vyper
2
star
95

risk-framework

Solidity
2
star
96

yswaps

TypeScript
2
star
97

yLSTeth

TypeScript
2
star
98

yearn-multisig-ci-scripts

Python
2
star
99

yearn-partner-tracker

Solidity
2
star
100

yearn-integration-hardhat

TypeScript
2
star