Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Rework deploy-to-testnet.md to use init command
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabethengelman committed Feb 16, 2024
1 parent a64d4ab commit 2ed044f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docs/getting-started/deploy-to-testnet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ To recap what we've done so far, in [Setup](setup.mdx):
- configured the soroban-cli to communicate with the Soroban Testnet via RPC
- and configured an identity to sign transactions

In [Hello World](hello-world.mdx) we wrote a simple contract, and now we are ready to deploy that contract to Testnet, and interact with it.
In [Hello World](hello-world.mdx) we created a `hello-world` project, and learned how to test and build the `HelloWorld` contract. Now we are ready to deploy that contract to Testnet, and interact with it.

## Deploy

To deploy your Hello Soroban contract, run the following command:
To deploy your HelloWorld contract, run the following command:

```bash
soroban contract deploy \
--wasm target/wasm32-unknown-unknown/release/hello_soroban.wasm \
--wasm target/wasm32-unknown-unknown/release/hello_world.wasm \
--source alice \
--network testnet
```
Expand Down Expand Up @@ -99,6 +99,4 @@ In this lesson, we learned how to:
- deploy a contract to Testnet
- interact with a deployed contract

You shouldn't have any changes to commit to git, because we didn't change any code in this lesson!

Next we'll add a new contract to this project, reorganizing the project as a multi-contract project using Cargo Workspaces. The new contract will show off a little bit of Soroban's storage capabilities.
Next we'll add a new contract to this project, and see how our workspace can accommodate a multi-contract project. The new contract will show off a little bit of Soroban's storage capabilities.

0 comments on commit 2ed044f

Please sign in to comment.