Skip to content

Commit

Permalink
fix: octez_client bash alias (#997)
Browse files Browse the repository at this point in the history
Co-authored-by: aguillon <[email protected]>
  • Loading branch information
aguillon and aguillon authored Nov 28, 2022
1 parent 902b8bf commit e1ed1f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/deploy_contracts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ deploy_contract() {

echo "Originating $1 contract"
sleep 2
octez-client \
octez_client \
--wait 1 \
--endpoint "$DEKU_TEZOS_RPC_NODE" originate contract "$1" \
transferring 0 from $wallet \
Expand All @@ -44,9 +44,9 @@ then
message "Using Tezos RPC Node: $DEKU_TEZOS_RPC_NODE"

message "Configuring Tezos client"
octez-client --endpoint "$DEKU_TEZOS_RPC_NODE" bootstrapped
octez-client --endpoint "$DEKU_TEZOS_RPC_NODE" import secret key myWallet "unencrypted:$SECRET_KEY" --force
octez-client --endpoint "$DEKU_TEZOS_RPC_NODE" import secret key bob "unencrypted:$SECRET_KEY2" --force
octez_client --endpoint "$DEKU_TEZOS_RPC_NODE" bootstrapped
octez_client --endpoint "$DEKU_TEZOS_RPC_NODE" import secret key myWallet "unencrypted:$SECRET_KEY" --force
octez_client --endpoint "$DEKU_TEZOS_RPC_NODE" import secret key bob "unencrypted:$SECRET_KEY2" --force

# [deploy_contract name source_file initial_storage] compiles the Ligo code in [source_file],
# the [initial_storage] expression and originates the contract as myWallet on Tezos.
Expand Down

0 comments on commit e1ed1f9

Please sign in to comment.