Skip to content

Commit 4e7405c

Browse files
authored
[CHORE] Update soroban readme to reflect wasm architecture change (#1760)
### Description - Update soroban readme to reflect wasm architecture change ### Context - bug fix
2 parents 964909b + c484a9b commit 4e7405c

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

soroban/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,22 @@ One time deployment instructions. If you need to make changes to a previously
2323
deployed contract, upgrade it instead (see below).
2424

2525
```bash
26-
# Build the contracts
26+
# Build the contracts under ${PROJECT_DIR}/soroban directory.
2727
stellar contract build
2828

2929
# Deploy the account contract
3030
stellar contract deploy \
31-
--wasm target/wasm32-unknown-unknown/release/account.wasm \
31+
--wasm target/wasm32v1-none/release/account.wasm \
3232
--source-account ${MY_ACCOUNT} \
3333
--network testnet \
3434
--salt 616e63686f722d706c6174666f726d \
3535
-- \
36-
--admin ${MY_ACCOUNT}
36+
--admin ${MY_ACCOUNT} \
3737
--signer ${MY_ACCOUNT_PUBLIC_KEY_BYTES} # you can get this by calling KeyPair#rawPublicKey using the JS SDK
3838

3939
# Deploy the web auth contract
4040
stellar contract deploy \
41-
--wasm target/wasm32-unknown-unknown/release/web_auth.wasm \
41+
--wasm target/wasm32v1-none/release/web_auth.wasm \
4242
--source-account ${MY_ACCOUNT} \
4343
--network testnet \
4444
--salt 616e63686f722d706c6174666f726d \
@@ -52,7 +52,7 @@ stellar contract deploy \
5252
# Install the account wasm on the network
5353
stellar contract upload \
5454
--source ${MY_ACCOUNT} \
55-
--wasm target/wasm32-unknown-unknown/release/account.wasm \
55+
--wasm target/wasm32v1-none/release/account.wasm \
5656
--network testnet
5757

5858
# Update the account contract with the new Wasm
@@ -71,7 +71,7 @@ stellar contract invoke \
7171
# Install the account wasm on the network
7272
stellar contract upload \
7373
--source ${MY_ACCOUNT} \
74-
--wasm target/wasm32-unknown-unknown/release/web_auth.wasm \
74+
--wasm target/wasm32v1-none/release/web_auth.wasm \
7575
--network testnet
7676

7777
# Update the account contract with the new Wasm

0 commit comments

Comments
 (0)