Skip to content

Commit

Permalink
Dependencies versions in README (#78)
Browse files Browse the repository at this point in the history
* use docker image for soroban 0.3.3

* fix amounts to mint and deposit, swap order btyes

* Clear dependencies in README

Co-authored-by: Marcos Oliva <[email protected]>
Co-authored-by: Paul Bellamy <[email protected]>
  • Loading branch information
3 people authored Jan 4, 2023
1 parent 3a0d9e7 commit dd8d479
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,18 @@ backed by smart contracts on Stellar.

### Dependencies

1. Install the soroban-cli from https://soroban.stellar.org/docs/getting-started/setup#install-the-soroban-cli
2. Install Docker for Standalone and Futurenet backends.
3. Node.js v17
1. `soroban-cli v0.3.3`. See https://soroban.stellar.org/docs/getting-started/setup#install-the-soroban-cli
2. `docker` for Standalone and Futurenet backends.
3. `Node.js v17`
4. `Freighter wallet v2.9.1`. Download it from https://github.com/stellar/freighter/releases/tag/2.9.1 and Enable "Experimental Mode" in the settings (gear icon).

### Backend (Local Sandbox)

1. Run the backend with `soroban serve`
2. Run `./initialize.sh sandbox` to load the contracts and initialize it.
- Note: this will create a `.soroban` sub-directory, to contain the sandbox
network data.
3. Configure Freighter
a. Install the custom Freighter Soroban release from https://github.com/stellar/freighter/releases/tag/v2.6.0-beta.2
b. Enable "Experimental Mode" in the settings (gear icon).
c. Add a custom network:
3. Add the Sandbox custom network in Freighter
| | |
|---|---|
| Name | Sandbox |
Expand All @@ -36,10 +34,7 @@ backed by smart contracts on Stellar.
1. Run the backend docker container with `./quickstart.sh standalone`, and wait for it to start.
2. Run `./initialize.sh standalone` to load the contracts and initialize it.
- Note: this state will be lost if the quickstart docker container is removed.
3. Configure Freighter
a. Install the custom Freighter Soroban release from https://github.com/stellar/freighter/releases/tag/v2.6.0-beta.2
b. Enable "Experimental Mode" in the settings (gear icon).
c. Add a custom network:
3. Add the Standalone custom network in Freighter
| | |
|---|---|
| Name | Standalone |
Expand All @@ -59,15 +54,13 @@ backed by smart contracts on Stellar.
`ingest_latest_ledger`, field. If it is `0`, the quickstart image is not
ready yet.
2. Run `./initialize.sh futurenet` to load the contracts and initialize it.
3. Configure Freighter
a. Install the custom Freighter Soroban release from https://github.com/stellar/freighter/releases/tag/v2.6.0-beta.2
b. Enable "Experimental Mode" in the settings (gear icon).
c. Add a custom network (Note, the out-of-the-box "Future Net" network in
3. Add the Futurenet custom network in Freighter
(Note, the out-of-the-box "Future Net" network in
Freighter will not work with a local quickstart container, so we need to add
our own):
| | |
|---|---|
| Name | Futurenet |
| Name | Futurenet Local RPC|
| URL | http://localhost:8000/soroban/rpc |
| Passphrase | Test SDF Future Network ; October 2022 |
| Allow HTTP connection | Enabled |
Expand Down

0 comments on commit dd8d479

Please sign in to comment.