Repository navigation
Releases
Releases · NimMiniApps/nimiq-go
v0.4.0
Validator-pool SDK support for delegation accounting, block rewards, and validator lifecycle management.
Added
rpc.Client.GetStakersByValidatorAddressto list every staker delegating to a validator, including ordinary empty resultsrpc.Inherent,Inherent.IsReward, andrpc.Client.GetInherentsByBlockNumberfor reward, jail, and penalty events at a blockNewRetireValidatorTransactionandNewDeleteValidatorTransactionfor retiring a validator and reclaiming its depositNewDeactivateValidatorTransactionandNewReactivateValidatorTransaction, with distinct validator signing-key and fee-payer support- Validator lifecycle fixtures verified byte-for-byte against node-built transactions and successfully executed on a disposable dev-albatross
- Pool integration and validator lifecycle validation guides (
docs/pool-integration.mdanddocs/phase-pool-staking.md)
Not supported
- Validator creation and voting-key updates remain intentionally unsupported because they require BLS proof-of-knowledge generation; use the node wallet RPCs for those operations
v0.3.1
Hub wire helpers for server-side wallet login.
Added
ParsePublicKeyandParseSignaturefor Hub/Keyguard encodings (std base64, base64url, optional 0x-hex)- Server-side wallet login recipe (
docs/wallet-login.mdand README blurb)
v0.3.0
Application surface for wallets and mini apps: restore from backup, send without boilerplate, cashlinks, and vesting.
Added
- Raw JSON-RPC escape hatch (
rpc.Client.Call) for methods this SDK does not wrap - BIP39 mnemonic import/export in
signer(TypeOf,FromMnemonic,FromMnemonicType,PrivateKey.Mnemonic), including legacy CRC-8 detection rpc.Client.Sendconvenience transfer withWithNetwork(network is app intent, never read from the node)- Cashlink URL parse/encode (
ParseCashlink,Cashlink.URL) matching hub.nimiq.com payload quirks - Vesting creation payload parsing (
ParseVestingCreation) for short, medium, and full encodings
v0.2.0
Reliability, authentication, and staking-read APIs needed for application migrations.
Added
- Signed messages (
MessageHash,SignMessage,VerifyMessage,VerifyMessageFrom) matching Albatross wallet message prep - Address history with proven completeness (
GetTransactionsByAddress,FindTransactionByData) and fail-closed reconciliation - Fee estimation (
EstimateFee) from network min fee per byte - HTLC creation payload parsing (
ParseHTLCCreation) - Pre-broadcast decode and proof verification (
ParseAndVerify) with expected-network binding - Staker and validator reads (
GetStaker,GetValidator) including balance buckets and eligibility helpers - RPC endpoint failover (
WithFallbackEndpoints) on transport failures and 5xx only - Chain policy constants and expiry helpers (
Policy,IsExpired,BlocksUntilExpiry) - Encrypted key storage in
signer(scrypt + AES-256-GCM)
v0.1.0
Initial public release of the Nimiq Albatross Go SDK.
Added
- Offline address parsing/encoding with IBAN checksum (
ParseAddress,AddressFromPublicKey) - Exact NIM ↔ Luna conversion without floating point (
ParseNIM,Luna) - Basic and extended transaction serialization, hashing, and Ed25519 signature proofs
SignTransaction/Signerinterface; in-process keys insigner- Staking transaction constructors (create/add/update staker, set active stake, retire, remove)
- JSON-RPC client (
rpc) for block height, balances, send/confirm transactions - Example under
examples/basic - CI, golangci-lint, Dependabot, and tag-driven GitHub Releases