Skip to content

Releases

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 12 Aug 21:43

Validator-pool SDK support for delegation accounting, block rewards, and validator lifecycle management.

Added

  • rpc.Client.GetStakersByValidatorAddress to list every staker delegating to a validator, including ordinary empty results
  • rpc.Inherent, Inherent.IsReward, and rpc.Client.GetInherentsByBlockNumber for reward, jail, and penalty events at a block
  • NewRetireValidatorTransaction and NewDeleteValidatorTransaction for retiring a validator and reclaiming its deposit
  • NewDeactivateValidatorTransaction and NewReactivateValidatorTransaction, 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.md and docs/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

Choose a tag to compare

@github-actions github-actions released this 11 Aug 22:52

Hub wire helpers for server-side wallet login.

Added

  • ParsePublicKey and ParseSignature for Hub/Keyguard encodings (std base64, base64url, optional 0x-hex)
  • Server-side wallet login recipe (docs/wallet-login.md and README blurb)

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 11 Aug 19:47

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.Send convenience transfer with WithNetwork (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

Choose a tag to compare

@github-actions github-actions released this 10 Aug 22:45

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

Choose a tag to compare

@github-actions github-actions released this 07 Aug 23:51

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 / Signer interface; in-process keys in signer
  • 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