-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
separate contracts and sdk; tidy up (#11)
- Loading branch information
Showing
811 changed files
with
31,074 additions
and
136,488 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,6 +1,8 @@ | ||
export OWNER_PK=<contract owner private key; example local foundry node key - 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80> | ||
RPC_URL=http://127.0.0.1:8545 | ||
RPC_PROVIDER_URL=<rpc provider url - for example infura> | ||
NETWORK_ID=31337 | ||
REFUNDER_ADDRESS= | ||
ORACLE_ADDRESS=<oracle contract address> | ||
export WALLET_PK=<contract owner private key; example local foundry node key - 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80> | ||
|
||
L1_RPC_PROVIDER_URL=<rpc provider url - for example infura> | ||
L2_RPC_PROVIDER_URL=<rpc provider url - for example infura> | ||
L2_NETWORK_ID=31337 | ||
|
||
ORACLE_ADDRESS=<TrustedOracle contract address> | ||
INCLUSION_PROVER_ADDRESS=<TransactionInclusionProver contract address> |
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
This file was deleted.
Oops, something went wrong.
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,33 +1,15 @@ | ||
## Instalation | ||
## Installation | ||
|
||
``` | ||
npm install | ||
``` | ||
|
||
## Start local node | ||
## Make sure you have needed variables in the .env file | ||
|
||
``` | ||
anvil | ||
``` | ||
|
||
## Deploy contracts to local node | ||
|
||
In another terminal execute: | ||
|
||
``` | ||
npm run deploy-contracts | ||
``` | ||
|
||
\*Make sure the OWNER_PK env variable has the 'export' word in the line start | ||
|
||
## Generate typechain types for TypeScript usage | ||
|
||
``` | ||
npm run postinstall | ||
``` | ||
Use .env.template for reference | ||
|
||
## Run script | ||
|
||
``` | ||
npm start | ||
npm start -- your_transaction_hash | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Submodule Solidity-RLP
deleted from
0212f8
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.