Skip to content

Commit

Permalink
readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
0xDegenDeveloper committed Nov 4, 2024
1 parent f1164b2 commit 68d2e73
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions argent/.env-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ARGENT_WALLET_ADDRESS=0x...
ARGENT_WALLET_SALT=0x...
ARGENT_WALLET_CONSTRUCTOR_ARG1=1234...
# This is the first pre-funded katana account address and should be the same account used in the Fossil API .env config
PRE_FUNDED_WALLET_ADDRESS=0x127fd5f1fe78a71f8bcd1fec63e3fe2f0486b6ecd5c86a0466c3a21fa5cfcec
8 changes: 5 additions & 3 deletions sncast/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,14 @@ To use an Argent wallet on the devnet you need to fund and deploy it first.

1. Clone the Fossil API [repo](https://github.com/OilerNetwork/fossil-offchain-processor) and checkout the `headers-from-rpc` branch

2. Build the API using `cargo build` and run it using `cargo run`
2. Fill in this repo's .env file uses the STARKNET_ACCOUNT_ADDRESS & STARKNET_PRIVATE_KEY associated with the PRE_FUNDED_WALLET_ADDRESS in the just made .env file

3. Build the API using `cargo build` and run it using `cargo run`

### Running the Frontend

1. Clone the Fossil Frontend [repo](https://github.com/OilerNetwork/pitchlake-ui-new) and install the dependencies (`pnpm install`)

2. For now, we need to replace the vault address in the page.tsx file. Go to page.tsx, and at the top of the file is an array of vault addresses, only place the just deployed vault here
2. For now, we need to replace the vault address in the page.tsx file. Go to page.tsx, and at the top of the file is an array of vault addresses, place just the deployed vault address here

3. Run the frontend on port 3002 using `pnpm run dev -p 3002`
3. Run the frontend on port 3002 using `pnpm run dev -p 3002` (making sure to have the NEXT_PUBLIC_ENVIRONMENT set to "rpc")

0 comments on commit 68d2e73

Please sign in to comment.