Skip to content

Commit

Permalink
Readme update for unisuapp (#28)
Browse files Browse the repository at this point in the history
* add details for uniuapp readme

* update contract address in rigil.json
  • Loading branch information
zeroXbrock authored Jan 23, 2024
1 parent 7ee4a47 commit bcfdb2a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions examples/uniswap-v2-intents-goerli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,27 @@ To install dependencies:
bun install
```

Setup .env:

```bash
# assuming you're in this directory, go to project root
cd ../..
cp .env.example .env

# populate GOERLI_KEY and SUAVE_KEY in .env
vim .env
```

To run:

```bash
bun run index.ts
```

To deploy new contracts and run:

```bash
DEPLOY=true bun run index.ts
```

This project was created using `bun init` in bun v1.0.23. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
2 changes: 1 addition & 1 deletion examples/uniswap-v2-intents-goerli/rigil.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dai": "0xCD5fF331F1a417D8dEd7CFCe447c09256D7Cd6b6"
},
"suave": {
"intentRouter": "0x2279ab3261688ad54e8faef74a43386d32d29651",
"intentRouter": "0x7e065d26b70d95ab9f67ad1b79e70b54b67f64cd",
"defaultAdminKey": "0x91ab9a7e53c220e6210460b65a7a3bb2ca181412a8a7b43ff336b3df1737ce12",
"localKettleAddress": "0xb5feafbdd752ad52afb7e1bd2e40432a485bbb7f",
"testnetKettleAddress": "0x03493869959c866713c33669ca118e774a30a0e5"
Expand Down

0 comments on commit bcfdb2a

Please sign in to comment.