Questions tagged [cosmos-blockchain]
5 questions
2
votes
1 answer
how to sign a message with ecdsa privatekey using golang?
I am trying to sign a message in go generated via hd wallet's private key using cosmos sdk. Below is the equivalent implementation in python which generates the signed message / signature as expected when submitted/verified is working properly but…

Mozhi
- 757
- 1
- 11
- 28
1
vote
1 answer
In Terra Smart Contract how do you retrieve the current running contract address from within the executing RUST code?
I'm using CosmWasm and CW-Asset crates, and I want to check the smart contract Address balance for a specific cw20 token balance on the current smart contract address before transferring the tokens to another persons address. I have Deps/DepsMut,…

petegordon
- 339
- 1
- 9
0
votes
0 answers
Decoding Tx From Terra columbus-2 Chain with NodeJS
I am trying to decode transactions returned from an RPC call to a terra columbus-2 node with NodeJS . I was able to use the following code on columbus-1 but its not working on columbus-2:
import { unmarshalTx, StdTx } from "@tendermint/amino-js";
…

captjck
- 1
- 1
0
votes
0 answers
Can't execute ignite chain serve in firmachain project
While I was trying to execute "ignite chain serve" in the firma project, I encountered the following bug.
> ·ignite chain serve
Ignite CLI v0.27.1 is available!
To upgrade your Ignite CLI version, see the upgrade doc:…

James Anderson
- 9
- 2
-1
votes
1 answer
Unable to get Block by Height using Cosmpy module
I am playing with Cosmos Blockchain and trying to get Block details inputting its height. For this purpose I am trying to use CosmPy module.
I found a function inside the library that allows you to do exaclty what I want that is…

giacomomaraglino
- 177
- 2
- 14