From ed75bd3ae982bca91b577b19d1d76b0868be7df3 Mon Sep 17 00:00:00 2001 From: IshaVenikar Date: Fri, 30 May 2025 09:52:13 +0530 Subject: [PATCH 1/4] Make rest endpoint externally accessible --- stack-orchestrator/config/mainnet-laconicd/run-laconicd.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/stack-orchestrator/config/mainnet-laconicd/run-laconicd.sh b/stack-orchestrator/config/mainnet-laconicd/run-laconicd.sh index 5604afa..366e176 100755 --- a/stack-orchestrator/config/mainnet-laconicd/run-laconicd.sh +++ b/stack-orchestrator/config/mainnet-laconicd/run-laconicd.sh @@ -58,6 +58,7 @@ laconicd start \ --api.enable \ --minimum-gas-prices=${MIN_GAS_PRICE}alnt \ --rpc.laddr="tcp://0.0.0.0:26657" \ + --api.address="tcp://0.0.0.0:1317" \ --gql-playground --gql-server \ --log_level $CERC_LOGLEVEL \ --home $NODE_HOME -- 2.45.2 From 710926d5b5ecda0c9c16f202cf95bd2f879b1963 Mon Sep 17 00:00:00 2001 From: IshaVenikar Date: Fri, 30 May 2025 11:30:43 +0530 Subject: [PATCH 2/4] Update port for multisig app --- docs/demo.md | 2 +- playbooks/cosmos-multisig-app/README.md | 2 +- .../templates/specs/cosmos-multisig-app-spec-template.yml.j2 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/demo.md b/docs/demo.md index b2b07ed..53ebbe8 100644 --- a/docs/demo.md +++ b/docs/demo.md @@ -422,7 +422,7 @@ laconic-so deployment --dir $DATA_DIRECTORY/$MULTISIG_DEPLOYMENT_DIR logs -f ``` -- The app will be running on +- The app will be running on ### Create a multisig with both the validator accounts diff --git a/playbooks/cosmos-multisig-app/README.md b/playbooks/cosmos-multisig-app/README.md index 1bbe6d7..47a73a7 100644 --- a/playbooks/cosmos-multisig-app/README.md +++ b/playbooks/cosmos-multisig-app/README.md @@ -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 ``` -* Access the app at `http://localhost:3000/laconic` +* Access the app at ## Check Status diff --git a/playbooks/cosmos-multisig-app/templates/specs/cosmos-multisig-app-spec-template.yml.j2 b/playbooks/cosmos-multisig-app/templates/specs/cosmos-multisig-app-spec-template.yml.j2 index e3a4c9a..7fcbac8 100644 --- a/playbooks/cosmos-multisig-app/templates/specs/cosmos-multisig-app-spec-template.yml.j2 +++ b/playbooks/cosmos-multisig-app/templates/specs/cosmos-multisig-app-spec-template.yml.j2 @@ -1,6 +1,6 @@ network: ports: cosmos-multisig-ui: - - 3000:3000 + - 7000:7000 alpha: - 8080:8080 -- 2.45.2 From 54e5e6da245f6902e39a2b5b445939be673c8028 Mon Sep 17 00:00:00 2001 From: IshaVenikar Date: Fri, 30 May 2025 11:48:12 +0530 Subject: [PATCH 3/4] Update README with steps to use keplr for sending txs --- docs/demo.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/demo.md b/docs/demo.md index 53ebbe8..c131553 100644 --- a/docs/demo.md +++ b/docs/demo.md @@ -426,7 +426,7 @@ ### 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` @@ -436,17 +436,11 @@ - 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 1000000alnt --fees 2000alnt --keyring-backend test" - ``` - ### 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` @@ -458,6 +452,12 @@ - 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` - 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 -- 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 -- 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 -- 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 -- 2.45.2 From d34eb7298d37551a02374a92156f46f5d21f2a86 Mon Sep 17 00:00:00 2001 From: IshaVenikar Date: Fri, 30 May 2025 11:58:16 +0530 Subject: [PATCH 4/4] Update cosmos nultisig app version --- playbooks/cosmos-multisig-app/cosmos-multisig-app-start.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/cosmos-multisig-app/cosmos-multisig-app-start.yml b/playbooks/cosmos-multisig-app/cosmos-multisig-app-start.yml index 22ed152..6ed2548 100644 --- a/playbooks/cosmos-multisig-app/cosmos-multisig-app-start.yml +++ b/playbooks/cosmos-multisig-app/cosmos-multisig-app-start.yml @@ -18,7 +18,7 @@ - name: Clone cosmos-multisig-ui repo 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 shell: | -- 2.45.2