@@ -23,22 +23,22 @@ One time deployment instructions. If you need to make changes to a previously
2323deployed contract, upgrade it instead (see below).
2424
2525``` bash
26- # Build the contracts
26+ # Build the contracts under ${PROJECT_DIR}/soroban directory.
2727stellar contract build
2828
2929# Deploy the account contract
3030stellar 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
4040stellar 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
5353stellar 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
7272stellar 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