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

Skip to content

Complete Go client SDK implementation #1292

@prdlk

Description

@prdlk

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

Summary

Implement missing functionality in the Go client SDK for comprehensive blockchain interaction.

TODO Locations

DWN Client (client/modules/dwn/client.go)

  • Line 241-301: Record operations (Create, Read, Update, Delete, Query, List)
  • Line 313-337: Permission management (Grant, Revoke, List)
  • Line 349-373: Protocol operations (Install, Uninstall, List)

Query Client (client/query/client.go)

  • Line 136-149: Chain and node info queries
  • Line 338-348: Transaction query and search

Transaction Builder (client/tx/builder.go)

  • Line 253: Extract public key from DID
  • Line 385: Fetch account number and sequence from chain

Gas Estimation (client/tx/gas.go)

  • Line 188-198: Dynamic gas price discovery and network gas info

Authentication (client/auth/webauthn.go)

  • Line 735-772: WebAuthn binding and registration logic

Network Configuration (client/config/networks.go)

  • Line 107: Update testnet endpoints
  • Line 192: Update devnet endpoints
  • Line 222: Update mainnet endpoints when available

Keyring (client/keys/keyring.go)

  • Line 121: Implement proper EnclaveConfig construction

Tasks

  • Complete DWN record and permission operations
  • Implement transaction querying and searching
  • Add dynamic gas estimation
  • Complete WebAuthn integration
  • Update network endpoint configurations
  • Add comprehensive error handling
  • Create example applications
  • Write integration tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    choreImprovement to existing functionalitysdk

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions