Skip to content

Commit b694b42

Browse files
committed
updated contract deployment steps based on avax testing
1 parent f6bdc75 commit b694b42

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/content/quickstarts/transmitter.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,20 +106,20 @@ First, deploy a `DataStreamsFeed.sol` contract. This contract receives and store
106106

107107
```bash
108108
cat >.env <<EOF
109-
PRIVATE_KEY=0xYOUR_PRIVATE_KEY
110-
RPC_URL_AVAX_FUJI=https://api.avax-test.network/ext/bc/C/rpc
109+
PRIVATE_KEY=<0xYOUR_PRIVATE_KEY>
110+
RPC_URL_AVAX_FUJI=<https://...>
111111
EOF
112112
```
113113
114-
Replace `0xYOUR_PRIVATE_KEY` with your actual wallet private key.
114+
Replace `0xYOUR_PRIVATE_KEY` with your actual wallet private key and `<https://...>` with the [RPC URL for the Avalanche Fuji network](https://build.avax.network/docs/quick-start/networks/fuji-testnet#add-avalanche-c-chain-testnet-to-wallet).
115115
116116
1. Load the environment variables into your current shell session:
117117
118118
```bash
119119
source .env
120120
```
121121
122-
1. Configure `script/DeployDataStreamsFeed.s.sol`.
122+
1. Configure `script/DeployDataStreamsFeedWithRoleAssign.s.sol` (or `script/DeployDataStreamsFeed.s.sol`, if you prefer to use the Deploy Only contract below).
123123
124124
This script deploys the `DataStreamsFeed` contract, which is the consumer contract that will receive data from the Transmitter. You need to set the constructor arguments for the contract.
125125

0 commit comments

Comments
 (0)