You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 1, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 1, 2026. It is now read-only.
Hey Gem team, great job with your project and thanks for using wallet-core! I'd like to point out that most of the important coins you use are also available in Rust from WalletCore with V2 features, such as Bitcoin, FFI generation, and more (such as protobuf access from Rust as well)
@Milerius could you guys please add custom cosmos network support? we'd like to fully use Wallet Core if it can support sign arbitrary cosmos sdk tx. One user case is to support skipprotocol
@Milerius Another feature request: Add script to publish Wallet Core Android to Maven Central or Local, F-droid needs all the components being compiled on their build server to get listed.
Hi @gemcoder21 , no we don't support split and stake operations per one transaction. We'll consider adding support for it in the future, thank you for the good point.
@Milerius could you guys please add custom cosmos network support? we'd like to fully use Wallet Core if it can support sign arbitrary cosmos sdk tx. One user case is to support skipprotocol
@Milerius Another feature request: Add script to publish Wallet Core Android to Maven Central or Local, F-droid needs all the components being compiled on their build server to get listed.
@satoshiotomakan Thanks for the replies, Wallet Core validates hrp inside, if a new chain hrp is not registered in the registry, it will throw an error saying invalid address or something, we did try to use Wallet Core to support https://www.saga.xyz/ but failed
@satoshiotomakan Thanks for the replies, Wallet Core validates hrp inside, if a new chain hrp is not registered in the registry, it will throw an error saying invalid address or something, we did try to use Wallet Core to support https://www.saga.xyz/ but failed
Activity
gemcoder21 commentedon Oct 12, 2024
@Milerius thank you for the reaching out.
Do you plan to support split and stake functionality? https://github.com/gemwalletcom/core/blob/main/gemstone/src/sui/mod.rs#L27 to avoid having two separate transactions to perform a stake? Happy to use WalletCore for Sui, once this feature becomes available.
0xh3rman commentedon Oct 13, 2024
@Milerius could you guys please add custom cosmos network support? we'd like to fully use Wallet Core if it can support sign arbitrary cosmos sdk tx. One user case is to support skipprotocol
0xh3rman commentedon Oct 13, 2024
@Milerius Another feature request: Add script to publish Wallet Core Android to Maven Central or Local, F-droid needs all the components being compiled on their build server to get listed.
satoshiotomakan commentedon Oct 14, 2024
Hi @gemcoder21 , no we don't support split and stake operations per one transaction. We'll consider adding support for it in the future, thank you for the good point.
satoshiotomakan commentedon Oct 14, 2024
You can use SignDirect Protobuf message to sign an arbitrary transaction
https://github.com/trustwallet/wallet-core/blob/7523c9805ce094639dfbda6d643e439f5ef1705e/src/proto/Cosmos.proto#L240-L246
Rust example:
https://github.com/trustwallet/wallet-core/blob/7523c9805ce094639dfbda6d643e439f5ef1705e/rust/tw_cosmos_sdk/tests/sign.rs#L247-L286
Please note you can specify any
chain_infoas well astx_hasherandsigner_infofor custom chain support:https://github.com/trustwallet/wallet-core/blob/7523c9805ce094639dfbda6d643e439f5ef1705e/src/proto/Cosmos.proto#L424-L427
satoshiotomakan commentedon Oct 14, 2024
Consider using
tools/android-releasescript.To publish to the local Maven registry, you should replace
publishcommand withpublishToMavenLocalhere:https://github.com/trustwallet/wallet-core/blob/a60033f797e33628e557af7c66be539c8d78bc61/tools/android-release#L19
0xh3rman commentedon Oct 14, 2024
@satoshiotomakan Thanks for the replies, Wallet Core validates hrp inside, if a new chain hrp is not registered in the registry, it will throw an error saying invalid address or something, we did try to use Wallet Core to support https://www.saga.xyz/ but failed
0xh3rman commentedon Oct 15, 2024
@satoshiotomakan sure, we do can
publishToMavenLocal, but it would be nice to host it on maven central, hate to use github token to download a packagesatoshiotomakan commentedon Oct 15, 2024
Hi @0xh3rman, which version of WalletCore did you try? We added support for custom Cosmos chains at the 4.0.21 release: trustwallet/wallet-core#3669
I have one more example: https://github.com/trustwallet/wallet-core/blob/bbb99135847aa71898f085a6c681e3fbb162e530/rust/tw_tests/tests/chains/cosmos/cosmos_sign.rs#L65-L128
0xh3rman commentedon Oct 15, 2024
@satoshiotomakan Thanks for the reference, I probably used old version version
0xh3rman commentedon Nov 1, 2024
Close for now