-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec7f7a8
commit 19c3b2e
Showing
1 changed file
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,53 @@ | ||
# Weir Protocol | ||
|
||
A DAO2Stablecoin protocol for feasible liquidity generation and improving stablecoin adoption within DAOs | ||
|
||
### Contract Deployment Information | ||
|
||
**Celo Alfajores Testnet** | ||
|
||
| Contract | Deployed address | | ||
| :----- | :- | | ||
| [WeirFactory](https://alfajores-blockscout.celo-testnet.org/address/0x7Ec3C2a2bC8802f5c978eEd502C7eff0Dfcb3790) | `0x7Ec3C2a2bC8802f5c978eEd502C7eff0Dfcb3790` | | ||
| [WeirTreasury](https://alfajores-blockscout.celo-testnet.org/address/0x64fBc6cf5e65931e1BF19d7FeA29883F93508aC5) | `0x64fBc6cf5e65931e1BF19d7FeA29883F93508aC5`| | ||
| [Test DAO Token](https://alfajores-blockscout.celo-testnet.org/address/0x71Ec7bda1ED9A0E14De47C12092b6bbFA917063f) | `0x71Ec7bda1ED9A0E14De47C12092b6bbFA917063f`| | ||
| [Test Stablecoin](https://alfajores-blockscout.celo-testnet.org/address/0x9fC38f4857e6DE9b6C4a6dDBed8ed983b432EEdb) | `0x9fC38f4857e6DE9b6C4a6dDBed8ed983b432EEdb`| | ||
| [Test Carbon Credit](https://alfajores-blockscout.celo-testnet.org/address/0x6d048dae393A35894F5C83beA9e3A7C1abDC35e6) | `0x6d048dae393A35894F5C83beA9e3A7C1abDC35e6`| | ||
|
||
### Setup | ||
|
||
##### Pre-requisites | ||
|
||
- NodeJS | ||
- Ganache | ||
|
||
#### Clone the repository | ||
|
||
``` | ||
git clone https://github.com/Weir-Protocol/prototype.git | ||
cd prototype | ||
``` | ||
|
||
#### Install dependencies | ||
|
||
``` | ||
yarn install | ||
``` | ||
Create a .env file as per .env.example | ||
|
||
#### Testing | ||
|
||
Fork Celo Mainnet | ||
``` | ||
ganache --fork.url https://forno.celo.org | ||
``` | ||
Run tests | ||
``` | ||
yarn test | ||
``` | ||
|
||
#### Deploy locally | ||
|
||
``` | ||
yarn deploy-local | ||
``` |
19c3b2e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
weirprotocol – ./
weirprotocol-weir.vercel.app
weirprotocol.vercel.app
weirprotocol-git-main-weir.vercel.app