Overview
The Go-wallet-sdk is a powerful wallet solution built on the Go language, designed to streamline blockchain integration for developers. This SDK provides a robust set of tools for handling various cryptographic algorithms and essential wallet functionalities across multiple blockchains. Key features include:
- Private key generation
- Address creation
- Transaction assembly
- Secure signing mechanisms
๐ Explore the Go Wallet SDK to enhance your blockchain projects today!
Supported Platforms
This SDK seamlessly integrates with:
- Web applications
- Mobile apps
- Desktop software
Installation and Setup
Using Go GET
Install the latest version with:
go get github.com/okx/go-wallet-sdkPackage Types
- Public packages: Universal modules for all supported currencies
- Single-coin modules: Currency-specific implementations (e.g., ETH, BTC)
Core Features
| Module | Description |
|---|---|
| crypto | Implements BIP32, BIP39, ECDSA, ED25519 algorithms for key management |
| coins | Currency-specific modules (Bitcoin, Ethereum, etc.) with transaction tools |
Supported Blockchain Modules
| Blockchain | Package Link | Key Features |
|---|---|---|
| Aptos | github.com/.../aptos | Address generation, transaction signing |
| Bitcoin | github.com/.../bitcoin | PSBT transactions, multi-chain support |
| Ethereum | github.com/.../ethereum | EVM compatibility, message signing |
| Solana | github.com/.../solana | Account creation, transaction handling |
Implementation Examples
Ethereum Integration:
import "github.com/okx/go-wallet-sdk/coins/ethereum"
func main() {
address := ethereum.NewAddress(privateKey)
signedTx := ethereum.SignTransaction(rawTx, privateKey)
}Bitcoin Transaction:
import "github.com/okx/go-wallet-sdk/coins/bitcoin"
func main() {
psbtHex := bitcoin.GenerateUnsignedPSBTHex(inputs, outputs)
}Frequently Asked Questions
What blockchains does this SDK support?
The SDK currently supports 20+ blockchains including Bitcoin, Ethereum, Solana, and Cosmos ecosystems. Full list available in the Supported Coins section.
How secure is the key generation?
All cryptographic operations use industry-standard algorithms (ECDSA, ED25519) with BIP39/BIP32 compliance for deterministic key derivation.
Can I use this for enterprise applications?
Yes! The SDK is designed for both small-scale projects and enterprise-grade solutions with modular architecture for easy customization.
๐ Get started with enterprise solutions today!
Test Cases and Validation
Each module includes comprehensive test suites in their respective tests directories on GitHub. These verify:
- Address generation accuracy
- Transaction signing validity
- Cross-chain compatibility
Supported Cryptocurrencies
| Coin Family | Derivation Path | Example Coins |
|---|---|---|
| BTC | m/44'/0'/0'/0 | BTC, LTC, Doge |
| ETH | m/44'/60'/0'/0 | ETH, Polygon, Arbitrum |
| Cosmos | m/44'/118'/0'/0 | ATOM, OSMO, KAVA |
Note: Full derivation paths available in the official documentation.
Conclusion
The Go Wallet SDK provides a unified interface for blockchain integration with:
- Standardized security protocols
- Multi-chain interoperability
- Developer-friendly APIs
For implementation assistance or commercial inquiries, visit our developer portal.