-
Notifications
You must be signed in to change notification settings - Fork 27
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
Showing
3 changed files
with
58 additions
and
33 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 |
---|---|---|
|
@@ -16,3 +16,5 @@ book/book/ | |
package.json | ||
yarn.lock | ||
node_modules/ | ||
|
||
.env |
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,12 +1,26 @@ | ||
## Set up `starkli` | ||
# Tooling documentation | ||
|
||
Follow [Starkli 101](https://book.starkli.rs/tutorials/starkli-101) tutorial to set up a signer and an account. We are deploying to Sepolia so remember to use the `--network sepolia` option to interact with the testnet. | ||
## Setting up `starkli` | ||
|
||
Create a `.env` file in project root as follows : | ||
Follow [Starkli 101](https://book.starkli.rs/tutorials/starkli-101) tutorial to set up a signer and an account. We are deploying to Sepolia, so you can use the `--network sepolia` option to interact with the testnet with a free RPC vendor. | ||
|
||
Create a `.env` file in project root as follows: | ||
|
||
````shell | ||
STARKNET_KEYSTORE="/path/to/key.json" | ||
KEYSTORE_PASSWORD="password" | ||
STARKNET_ACCOUNT="/path/to/account.json" | ||
```` | ||
|
||
## Deploying the blobstreamx contract | ||
|
||
Run the deployment script: | ||
|
||
````shell | ||
deploy-blobstreamx.sh --owner <owner_address> --height <block_height> --header <block_header> | ||
```` | ||
|
||
You will be prompted to enter your keystore password two times: once for declaring the class hash and another for deploying the contract. | ||
|
||
You are required to provide an owner, a height, and a header, although additional parameters can be provided. | ||
|
||
Please review the `--help` menu for more information. You can use `--debug` to create a log file. |
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