This repository contains the main components of the Yieldi project: the web application, landing page, and shared assets.
yieldi-monorepo/
├── app/ # Main Yieldi dApp
├── landing/ # Marketing site (yieldi.xyz)
└── shared/ # Shared assets (e.g., Tailwind preset)
For detailed information, see App README and Landing Page README.
-
Clone the repository:
git clone [repository-url] cd yieldi-monorepo
-
Install dependencies:
cd app && npm install cd ../landing && npm install
-
Set up environment variables: Create
app/.env.local
:NEXT_PUBLIC_WALLETCONNECT_PROJECTID=your_walletconnect_project_id
-
Build api clientes For
stagenet
pnpm run openapi:gen:stagenet
For
mainnet
pnpm run openapi:gen
-
Run development servers:
cd app && npm run dev cd landing && npm run dev
- Next.js, React, TypeScript
- Tailwind CSS
- XchainJS
- Thorchain API and Midgard
The stagenet network is only available with the wallet leap.
You need to add custom network with this parameters:
chain id: thorchain-stagenet-2
chain name: thorchain
rpc URL: https://stagenet-rpc.ninerealms.com
Rest URL: https://stagenet-thornode.ninerealms.com
prefix: sthor
coin type: 931
native denom: rune
decimals: 8
Aditional you need to add env variable:
NEXT_PUBLIC_IS_STAGENET=true
Finally you need to generate the clients based on stagenet specs using:
pnpm run openapi:gen:stagenet
Please read our contributing guidelines before submitting pull requests.
MIT License. See LICENSE file.
Visit https://yieldi.xyz for more information.