Skip to content

Commit

Permalink
Merge pull request #2 from HolyGrease/main
Browse files Browse the repository at this point in the history
Update user tx guide
  • Loading branch information
avive authored Jun 14, 2023
2 parents 8bb9938 + 5a5ebd4 commit fa0a6f2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
Binary file added static/testnet/update-user-tx.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 15 additions & 1 deletion versioned_docs/version-0.1.0/testnet/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ You can use any substrate-compatible wallet but the easiest way to get started i
---

## Signing Up

1. Go to `Developer` > `Extrinsics` and choose from drop down menu `identity` and `newUser`.

![newUserTx](/testnet/new-user-tx.png)
Expand All @@ -29,7 +30,20 @@ You can use any substrate-compatible wallet but the easiest way to get started i

3. Click `Submit Transaction` to send the transaction. You should see an `ExtrinsicSuccess` message in few seconds.

----
---

## Update user

1. Go to `Developer` > `Extrnsics` and choose from drop down menu `identity` and `updateUser`.

![updateUserTx](/testnet/update-user-tx.png)

2. Enter update information
You can choose to update username or phone number or both of them

3. Click `Submit Transaction` to send the transaction. You should see an `ExtrinsicSuccess` message in few seconds.

---

## Appreciate Someone

Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-0.1.0/testnet/validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Alternatively, you can clone the Karmachain open source Github repo and build a
1. Copy the command below to a text editor.

```bash
sudo docker run --name karmachain-node --rm --mount source=chain-data,target=/chain-data -p 30333:30333 -p 9944:9944 -p 9933:9933 teamkarmacoin/karmachain:tn2 --base-path /chain-data --chain chain-spec/chainSpecTN2.json --port 30333 --ws-port 9944 --unsafe-ws-external --rpc-port 9933 --rpc-cors all --rpc-methods Unsafe --validator --name [YOUR_NODE_NAME] --bootnodes /dns/testnet.karmaco.in/tcp/30333/p2p/12D3KooWSFwns9MXoQStMhytZZso7cKfTTt3ivW2tEqBunfz9MZv
sudo docker run --name karmachain-node --rm --mount source=chain-data,target=/chain-data -p 30333:30333 -p 9944:9944 -p 9933:9933 teamkarmacoin/karmachain:tn2 --base-path /chain-data --chain chain-spec/chainSpecTN2.json --port 30333 --ws-port 9944 --unsafe-ws-external --rpc-port 9933 --rpc-cors all --rpc-methods Unsafe --validator --name [YOUR_NODE_NAME] --bootnodes /dns/testnet.karmaco.in/tcp/30333/p2p/12D3KooWSFwns9MXoQStMhytZZso7cKfTTt3ivW2tEqBunfz9MZv --telemetry-url "wss://telemetry.polkadot.io/submit/ 0"
```

2. Modify the command to set your node's name as the value of the `--name` flag.
Expand Down

0 comments on commit fa0a6f2

Please sign in to comment.