Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/connect-farm #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ This repo is responsible for the **exchange** interface of the AMM: [exchange.pa

If you want to contribute, please refer to the [contributing guidelines](./CONTRIBUTING.md) of this project.
If you want to list a token, refers to the [listing guidelines](./listing.md).

Create .env.local for local dev
Add REACT_APP_SERVICE_FARM = "http://localhost:3001/"
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@
"@walletconnect/web3-provider": "1.1.1-alpha.0"
},
"scripts": {
"start": "react-scripts start",
"start": "CHOKIDAR_USEPOLLING=true react-scripts start",
"start:dev": "PORT=3000 CHOKIDAR_USEPOLLING=true react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
Expand Down
16 changes: 3 additions & 13 deletions src/components/Menu/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const config: MenuEntry[] = [
{
label: 'Home',
icon: 'HomeIcon',
href: 'https://www.goosedefi.com/'
href: process.env.REACT_APP_SERVICE_FARM
},
{
label: 'Trade',
Expand All @@ -24,12 +24,12 @@ const config: MenuEntry[] = [
{
label: 'Farms',
icon: 'FarmIcon',
href: 'https://www.goosedefi.com/farms'
href: `${process.env.REACT_APP_SERVICE_FARM}farms`
},
{
label: 'Nests',
icon: 'PoolIcon',
href: 'https://www.goosedefi.com/nests'
href: `${process.env.REACT_APP_SERVICE_FARM}nests`
},
// {
// label: 'Lottery',
Expand Down Expand Up @@ -81,16 +81,6 @@ const config: MenuEntry[] = [
icon: 'GooseIcon',
href: 'https://docs.google.com/forms/d/e/1FAIpQLSe7ycrw8Dq4C5Vjc9WNlRtTxEhFDB1Ny6jlAByZ2Y6qBo7SKg/viewform?usp=sf_link',
},
{
label: 'Audit by Hacken',
icon: 'AuditIcon',
href: 'https://www.goosedefi.com/files/hackenAudit.pdf',
},
{
label: 'Audit by CertiK',
icon: 'AuditIcon',
href: 'https://certik.org/projects/goose-finance',
},
]

export default config
Loading