Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Implement client query and transaction utilities #1297

@prdlk

Description

@prdlk

This issue was migrated from sonr-io/sonr2#209
Migration date: Fri Oct 3 03:17:22 PM EDT 2025

Description

Complete implementation of client query methods and transaction utilities.

TODO Locations

Query Client (client/query/client.go)

  • GetChainInfo() - Line 137: Using Tendermint RPC client
  • GetNodeInfo() - Line 147: Using Tendermint RPC client
  • GetTransaction() - Line 333: Transaction query implementation
  • SearchTransactions() - Line 339: Transaction search implementation

Gas Estimation (client/tx/gas.go)

  • Line 189: Dynamic gas price discovery based on network conditions
  • Line 196: Dynamic network gas info retrieval

Transaction Builder (client/tx/builder.go)

  • Extract public key from DID or add GetPubKey method
  • Fetch account number and sequence from chain

Keyring Manager (client/keys/keyring.go)

  • Implement proper EnclaveConfig construction

Requirements

  1. Integration with Tendermint RPC client
  2. Dynamic gas price discovery algorithm
  3. Proper account sequence handling
  4. Enclave configuration for key management

Priority

Medium - Essential for transaction submission

Metadata

Metadata

Assignees

No one assigned

    Labels

    featNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions