https://github.com/murderteeth/ydiscount-app
https://github.com/murderteeth/ydiscount-app
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/murderteeth/ydiscount-app
- Owner: murderteeth
- Created: 2023-11-29T05:52:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-01T08:29:19.000Z (over 2 years ago)
- Last Synced: 2024-04-15T12:07:46.199Z (about 2 years ago)
- Language: TypeScript
- Homepage: https://ydiscount.yearn.farm
- Size: 1.62 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# yDiscount
Locked YFI discounts for contributors 👷♂️
## based on
[https://github.com/Majorfi/yPrisma](https://github.com/Majorfi/yPrisma)
## get started
```sh
bun install
bun dev
```
# end test
- clone https://github.com/murderteeth/yDiscount
- checkout the `murderteeth` branch
- run `make dev`
> the ydiscount contract is now running on a local chain with test data loaded for "team", "alice", and "bob".
- run this project with `bun dev`
- configure your wallet to connect to `http://localhost:8545`, import private keys for "team", "alice", and\or "bob" (pks are available in the make dev console)
- browse the app on localhost:3000, connect your wallet
# production
```sh
bun run build
```