Skip to content

Commit

Permalink
Update bindings commands with better ones (#1173)
Browse files Browse the repository at this point in the history
  • Loading branch information
armsves authored Jan 15, 2025
1 parent 745cf46 commit 18c976f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/build/apps/guestbook/bindings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The smart contract code needs to be installed to the network first. This uploads

```shell
stellar contract install \
--source S...ECRETKEY \
--source <identity or secret key> \
--network testnet \
--wasm ./target/wasm32-unknown-unknown/release/ye_olde_guestbook.wasm
```
Expand All @@ -40,7 +40,7 @@ This will return a hexadecimal hash corresponding to the uploaded Wasm executabl

```shell
stellar contract deploy \
--source S...ECRETKEY \
--source <identity or secret key> \
--network testnet \
--wasm-hash <wasm_hash_from_install_step>
```
Expand All @@ -51,7 +51,6 @@ Now we can (again) use the Stellar CLI to generate bindings from the contract we

```shell
stellar contract bindings typescript \
--source S...ECRETKEY \
--network testnet \
--id <contract_address_from_deploy_step> \
--output-dir ./packages/ye_olde_guestbook \
Expand Down

0 comments on commit 18c976f

Please sign in to comment.