Skip to content

Commit

Permalink
img
Browse files Browse the repository at this point in the history
  • Loading branch information
rauljordan committed Aug 25, 2023
1 parent e5498d2 commit ea8918a
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,13 @@ cargo stylus deploy \
--estimate-gas-only
```

![Image](gas_estimate.png)
and see:

```
Compressed WASM size: 3 KB
Deploying program to address 0x457b1ba688e9854bdbed2f473f7510c476a3da09
Estimated gas: 12756792
```

Next, attempt an actual deployment. Two transactions will be sent onchain.

Expand All @@ -88,7 +94,19 @@ cargo stylus deploy \
--endpoint=<JSON_RPC_ENDPOINT>
```

![Image](deploy.png)
and see:

```
Compressed WASM size: 3 KB
Deploying program to address 0x457b1ba688e9854bdbed2f473f7510c476a3da09
Estimated gas: 12756792
Submitting tx...
Confirmed tx 0x42db…7311, gas used 11657164
Activating program at address 0x457b1ba688e9854bdbed2f473f7510c476a3da09
Estimated gas: 14251759
Submitting tx...
Confirmed tx 0x0bdb…3307, gas used 14204908
```

## Compiling and Checking Stylus Programs

Expand Down

0 comments on commit ea8918a

Please sign in to comment.