diff --git a/ContractExamples/.devcontainer/Dockerfile b/ContractExamples/.devcontainer/Dockerfile index 8898cf3..fe2acd3 100644 --- a/ContractExamples/.devcontainer/Dockerfile +++ b/ContractExamples/.devcontainer/Dockerfile @@ -1,9 +1,11 @@ -FROM mcr.microsoft.com/devcontainers/rust:latest +FROM mcr.microsoft.com/devcontainers/rust:dev-bookworm USER vscode -RUN cargo install --locked soroban-cli@=21.0.0-rc.1 + +# This will eat ~13.5GB of memory! +RUN cargo install --locked stellar-cli --features opt + RUN rustup target add wasm32-unknown-unknown -# The following should be run at a project level: -# soroban network add --rpc-url https://soroban-testnet.stellar.org:443 --network-passphrase "Test SDF Network ; September 2015" testnet -# soroban keys generate alice --network testnet \ No newline at end of file +RUN stellar keys generate --global alice --network testnet +RUN stellar keys generate --global bob --network testnet diff --git a/ContractExamples/scripts/init.sh b/ContractExamples/scripts/init.sh deleted file mode 100755 index 5a75a86..0000000 --- a/ContractExamples/scripts/init.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env bash -# -# Call this script when starting from a fresh configuration -# -# Jure Kukovec, 2024 -# -# @license -# [Apache-2.0](https://github.com/freespek/solarkraft/blob/main/LICENSE) - -set -x -e - -SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) -RPC="https://soroban-testnet.stellar.org:443" - -soroban network add \ - --rpc-url $RPC \ - --network-passphrase "Test SDF Network ; September 2015"\ - testnet - -soroban keys generate alice --network testnet -soroban keys generate bob --network testnet - -cd ${SCRIPT_DIR}/.. - -git submodule init - -soroban contract build \ No newline at end of file