Update port for multisig app (#8)
Co-authored-by: IshaVenikar <ishavenikar7@gmail.com> Reviewed-on: #8 Co-authored-by: ishavenikar <ishavenikar@noreply.git.vdb.to> Co-committed-by: ishavenikar <ishavenikar@noreply.git.vdb.to>
This commit is contained in:
parent
e3927d4af2
commit
8a7d184610
28
docs/demo.md
28
docs/demo.md
@ -422,11 +422,11 @@
|
|||||||
laconic-so deployment --dir $DATA_DIRECTORY/$MULTISIG_DEPLOYMENT_DIR logs -f
|
laconic-so deployment --dir $DATA_DIRECTORY/$MULTISIG_DEPLOYMENT_DIR logs -f
|
||||||
```
|
```
|
||||||
|
|
||||||
- The app will be running on <http://localhost:3000/laconic>
|
- The app will be running on <http://localhost:7000/laconic>
|
||||||
|
|
||||||
### Create a multisig with both the validator accounts
|
### Create a multisig with both the validator accounts
|
||||||
|
|
||||||
- On opening the app, a prompt will be shown to add laconic network to you keplr wallet. Click on `Approve`
|
- On opening the app, a prompt will be shown to add laconic network to you Keplr wallet. Click on `Approve`
|
||||||
|
|
||||||
- Go to home and click on `I don't have a multisig`
|
- Go to home and click on `I don't have a multisig`
|
||||||
|
|
||||||
@ -436,17 +436,11 @@
|
|||||||
|
|
||||||
- Click on `Submit` and `Create multisig`
|
- Click on `Submit` and `Create multisig`
|
||||||
|
|
||||||
- Copy your multisig address and send some funds to the address
|
|
||||||
|
|
||||||
```
|
|
||||||
laconic-so deployment --dir $DATA_DIRECTORY/$MAINNET_DEPLOYMENT_DIR exec laconicd "laconicd tx bank send validator-2 <multisig_address> 1000000alnt --fees 2000alnt --keyring-backend test"
|
|
||||||
```
|
|
||||||
|
|
||||||
### Create and sign transaction
|
### Create and sign transaction
|
||||||
|
|
||||||
- Add accounts in keplr wallet for signing the transaction
|
- Add accounts in Keplr wallet for signing the transaction
|
||||||
|
|
||||||
- Open keplr wallet and click on the user icon in the top right corner
|
- Open Keplr wallet and click on the user icon in the top right corner
|
||||||
|
|
||||||
- Click on `Add wallet`, then select `Import an existing wallet` and go to `Use recovery phrase or private key`
|
- Click on `Add wallet`, then select `Import an existing wallet` and go to `Use recovery phrase or private key`
|
||||||
|
|
||||||
@ -458,6 +452,12 @@
|
|||||||
|
|
||||||
- Follow the above steps for the second validator account
|
- Follow the above steps for the second validator account
|
||||||
|
|
||||||
|
- Send fund to the generated multisig address using Keplr
|
||||||
|
|
||||||
|
- Open Keplr wallet and select the account from which you wish to transfer the funds to the multisig address
|
||||||
|
|
||||||
|
- Search and `laconic` and select the network. Select `Send` and paste the multisig address and set amount to `0.000000000001` (1000000alnt)
|
||||||
|
|
||||||
- Go to `home`, paste your multisig address and click on `Use this multisig`
|
- Go to `home`, paste your multisig address and click on `Use this multisig`
|
||||||
|
|
||||||
- You will see the multisig members and holdings for the address
|
- You will see the multisig members and holdings for the address
|
||||||
@ -470,17 +470,17 @@
|
|||||||
|
|
||||||
- Go back to the multisig info page and scroll down to the `Transactions` section
|
- Go back to the multisig info page and scroll down to the `Transactions` section
|
||||||
|
|
||||||
- Click on `Verify identity` and connect the app to your validator account in the keplr wallet
|
- Click on `Verify identity` and connect the app to your validator account in the Keplr wallet
|
||||||
|
|
||||||
- After approving the connection, you will see the list of transactions created by your multisig
|
- After approving the connection, you will see the list of transactions created by your multisig
|
||||||
|
|
||||||
- Click on your transaction and under `Choose wallet to sign`, click on connect keplr
|
- Click on your transaction and under `Choose wallet to sign`, click on connect Keplr
|
||||||
|
|
||||||
- After connecting the wallet, click on `Sign transaction` and approve the transaction
|
- After connecting the wallet, click on `Sign transaction` and approve the transaction
|
||||||
|
|
||||||
- Go back to multisig info page, switch to the second validator account in keplr wallet and repeat the same process to sign the transaction with the second validator account
|
- Go back to multisig info page, switch to the second validator account in Keplr wallet and repeat the same process to sign the transaction with the second validator account
|
||||||
|
|
||||||
- Once the transaction is signed by both the validators, click on `Broadcast Transaction`.
|
- Once the transaction is signed by both the validators, click on `Broadcast Transaction`
|
||||||
|
|
||||||
- Confirm funds transfer by checking balance of recipient address
|
- Confirm funds transfer by checking balance of recipient address
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ This playbook sets up the Cosmos Multisig application for managing multisig wall
|
|||||||
ansible-playbook -v -i localhost, -c local ~/cerc/laconicd-stack/playbooks/cosmos-multisig-app/cosmos-multisig-app-start.yml
|
ansible-playbook -v -i localhost, -c local ~/cerc/laconicd-stack/playbooks/cosmos-multisig-app/cosmos-multisig-app-start.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
* Access the app at `http://localhost:3000/laconic`
|
* Access the app at <http://localhost:7000/laconic>
|
||||||
|
|
||||||
## Check Status
|
## Check Status
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
- name: Clone cosmos-multisig-ui repo
|
- name: Clone cosmos-multisig-ui repo
|
||||||
shell: |
|
shell: |
|
||||||
laconic-so fetch-stack git.vdb.to/cerc-io/cosmos-multisig-ui@v0.1.0 --git-ssh --pull
|
laconic-so fetch-stack git.vdb.to/cerc-io/cosmos-multisig-ui@v0.1.1 --git-ssh --pull
|
||||||
|
|
||||||
- name: Build container image
|
- name: Build container image
|
||||||
shell: |
|
shell: |
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
network:
|
network:
|
||||||
ports:
|
ports:
|
||||||
cosmos-multisig-ui:
|
cosmos-multisig-ui:
|
||||||
- 3000:3000
|
- 7000:7000
|
||||||
alpha:
|
alpha:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
|
@ -58,6 +58,7 @@ laconicd start \
|
|||||||
--api.enable \
|
--api.enable \
|
||||||
--minimum-gas-prices=${MIN_GAS_PRICE}alnt \
|
--minimum-gas-prices=${MIN_GAS_PRICE}alnt \
|
||||||
--rpc.laddr="tcp://0.0.0.0:26657" \
|
--rpc.laddr="tcp://0.0.0.0:26657" \
|
||||||
|
--api.address="tcp://0.0.0.0:1317" \
|
||||||
--gql-playground --gql-server \
|
--gql-playground --gql-server \
|
||||||
--log_level $CERC_LOGLEVEL \
|
--log_level $CERC_LOGLEVEL \
|
||||||
--home $NODE_HOME
|
--home $NODE_HOME
|
||||||
|
Loading…
Reference in New Issue
Block a user