diff --git a/static/testnet/update-user-tx.png b/static/testnet/update-user-tx.png new file mode 100644 index 000000000..36ed9766c Binary files /dev/null and b/static/testnet/update-user-tx.png differ diff --git a/versioned_docs/version-0.1.0/testnet/basics.md b/versioned_docs/version-0.1.0/testnet/basics.md index bdc311103..ee155b617 100644 --- a/versioned_docs/version-0.1.0/testnet/basics.md +++ b/versioned_docs/version-0.1.0/testnet/basics.md @@ -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) @@ -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 diff --git a/versioned_docs/version-0.1.0/testnet/validator.md b/versioned_docs/version-0.1.0/testnet/validator.md index 0a0439e97..ccb4d2527 100644 --- a/versioned_docs/version-0.1.0/testnet/validator.md +++ b/versioned_docs/version-0.1.0/testnet/validator.md @@ -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.