Skip to content

Commit

Permalink
fix readme images
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryun1 committed May 1, 2024
1 parent f88fe54 commit a9153f3
Show file tree
Hide file tree
Showing 16 changed files with 19 additions and 14 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ git clone https://github.com/Ryun1/sancho-docker-node.git

Open Visual Studio Code and then go `File > Open Folder` selecting `sancho-docker-node` folder.

![Open Folder VS Code](./.github/setup-2.png)
![Open Folder VS Code](./docs/images/setup-2.png)

### 3. Open a terminal in Visual Studio Code.

Open a terminal inside of VSCode.

![Open Terminal Console](./.github/setup-3.png)
![Open Terminal Console](./docs/images/setup-3.png)

### 4. Update script permissions.

Expand All @@ -75,7 +75,7 @@ Run the following command.
chmod +x ./start-docker.sh ./stop-docker.sh ./scripts/*
```

![Fix permissions](./.github/setup-4.png)
![Fix permissions](./docs/images/setup-4.png)

**Note:** Make sure your terminal shows the correct directory `sancho-docker-node`.

Expand All @@ -100,7 +100,7 @@ If you want to stop the logs (but the node is still running) you can press `cont

This should look something like:

![Starting node](./.github/usage-start.png)
![Starting node](./docs/images/usage-start.png)

**Note:** The first time you do this the node will take a long time to synchronize to the network.

Expand All @@ -110,11 +110,11 @@ This should look something like:

Press the plus at the top right of your terminal window.

![Open new terminal](./.github/usage-check-1.png)
![Open new terminal](./docs/images/usage-check-1.png)

And then click on the new terminal.

![Navigate to new terminal](./.github/usage-check-1-b.png)
![Navigate to new terminal](./docs/images/usage-check-1-b.png)

#### 2. Query tip of node.

Expand Down Expand Up @@ -189,7 +189,7 @@ In a terminal execute:

This will create you a keys directory with some fun things inside, looks like this:

![New keys and addresses](./.github/doing-1.png)
![New keys and addresses](./docs/images/doing-1.png)

#### 2. Get some tAda.

Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion scripts/cc/vote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# ~~~~~~~~~~~~ CHANGE THIS ~~~~~~~~~~~~
choice="yes" # "yes", "no" or "abstain"
ga_hash="66cbbf693a8549d0abb1b5219f1127f8176a4052ef774c11a52ff18ad1845102"
ga_hash="10749d25c892a6ec20fc9365425dc204c6a2699ce1586bdb0e6802eccd6263f2"
ga_index="0"
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion scripts/drep/register.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ alias container-cli="docker exec -ti sancho-node cardano-cli"

container-cli conway governance drep registration-certificate \
--drep-key-hash $(cat ./keys/drep.id) \
--key-reg-deposit-amt $(container-cli conway query gov-state --testnet-magic 4 | jq -r .enactState.curPParams.dRepDeposit) \
--key-reg-deposit-amt 500000000 \
--out-file ./txs/drep-register.cert

container-cli conway transaction build \
Expand Down
2 changes: 1 addition & 1 deletion scripts/drep/retire.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ alias container-cli="docker exec -ti sancho-node cardano-cli"

container-cli conway governance drep retirement-certificate \
--drep-key-hash $(cat ./keys/drep.id) \
--deposit-amt $(container-cli conway query gov-state --testnet-magic 4 | jq -r .enactState.curPParams.dRepDeposit) \
--deposit-amt 500000000 \
--out-file ./txs/drep-retire.cert

container-cli conway transaction build \
Expand Down
2 changes: 1 addition & 1 deletion scripts/drep/vote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# ~~~~~~~~~~~~ CHANGE THIS ~~~~~~~~~~~~
choice="yes" # "yes", "no" or "abstain"
ga_hash="66cbbf693a8549d0abb1b5219f1127f8176a4052ef774c11a52ff18ad1845102"
ga_hash="10749d25c892a6ec20fc9365425dc204c6a2699ce1586bdb0e6802eccd6263f2"
ga_index="0"
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion scripts/stake/delegate-to-drep.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

# ~~~~~~~~~~~~ CHANGE THIS ~~~~~~~~~~~~
drep_id="" # keyhash of the drep
drep_id="3f3d4a84b800b34eb84c6151a955cdd823a0b99e3b886c725b8769e5" # keyhash of the drep
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# Delegating to an DRep
Expand Down
2 changes: 1 addition & 1 deletion scripts/stake/delegate-to-spo.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

# ~~~~~~~~~~~~ CHANGE THIS ~~~~~~~~~~~~
spo_id="" # keyhash of the SPO
spo_id="pool104flte3y29dprxcntacsuyznhduvlaza38gvp8yyhy2vvmfenxa" # keyhash of the SPO
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# Delegating to an SPO
Expand Down
2 changes: 1 addition & 1 deletion scripts/stake/key-register.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ alias container-cli="docker exec -ti sancho-node cardano-cli"

container-cli conway stake-address registration-certificate \
--stake-verification-key-file ./keys/stake.vkey \
--key-reg-deposit-amt $(container-cli conway query gov-state --testnet-magic 4 | jq -r .enactState.curPParams.keyDeposit) \
--key-reg-deposit-amt 2000000 \
--out-file ./txs/stake-registration.cert

container-cli conway transaction build \
Expand Down
5 changes: 5 additions & 0 deletions scripts/submit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
alias container-cli="docker exec -ti sancho-node cardano-cli"

container-cli conway transaction submit \
--testnet-magic 4 \
--tx-file ./txs/tx.signed

0 comments on commit a9153f3

Please sign in to comment.