Skip to content

Commit

Permalink
Release/preview 8 (#98)
Browse files Browse the repository at this point in the history
* We can use the new identity generation mechanism

* Update to @soroban-react/[email protected]

* Update quickstart image

* Use soroban quickstart image. duh
  • Loading branch information
paulbellamy authored Apr 5, 2023
1 parent a9201db commit 279fa9d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 15 deletions.
8 changes: 2 additions & 6 deletions initialize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,11 @@ esac
--network-passphrase "$SOROBAN_NETWORK_PASSPHRASE"
#fi

TOKEN_ADMIN_SECRET="SAKCFFFNCE7XAWYMYVRZQYKUK6KMUCDIINLWISJYTMYJLNR2QLCDLFVT"
if !(soroban config identity ls | grep token-admin 2>&1 >/dev/null); then
echo Create the token-admin identity
# TODO: Use `soroban config identity generate` once that supports secret key
# output.
# See: https://github.com/stellar/soroban-example-dapp/issues/88
mkdir -p ".soroban/identities"
echo "secret_key = \"$TOKEN_ADMIN_SECRET\"" > ".soroban/identities/token-admin.toml"
soroban config identity generate token-admin
fi
TOKEN_ADMIN_SECRET="$(soroban config identity show token-admin)"
TOKEN_ADMIN_ADDRESS="$(soroban config identity address token-admin)"

# TODO: Remove this once we can use `soroban config identity` from webpack.
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dependencies": {
"@radix-ui/react-dialog": "1.0.2",
"@soroban-react/chains": "4.1.0",
"@soroban-react/contracts": "4.1.0",
"@soroban-react/contracts": "^4.1.1",
"@soroban-react/core": "4.1.0",
"@soroban-react/freighter": "4.0.0",
"@soroban-react/types": "4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion quickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ docker run --rm -ti \
--name stellar \
--network soroban-network \
-p 8000:8000 \
stellar/quickstart:soroban-dev@sha256:81c23da078c90d0ba220f8fc93414d0ea44608adc616988930529c58df278739 \
stellar/quickstart:soroban-dev@sha256:3d14a36df8e7d3da899369f00231125d81745ab457076082d22eabc35c6de78e \
$ARGS \
--enable-soroban-rpc \
--protocol-version 20 \
Expand Down

0 comments on commit 279fa9d

Please sign in to comment.