Skip to content

Releases: nemorixgroup/avalanche-flutter-sdk

v0.1.1-dev - C-Chain JSON-RPC Client

Pre-release

Choose a tag to compare

@nemorixgroup nemorixgroup released this 13 Aug 16:14
6332186

Phase 2 started: C-Chain read operations available.

What's New

  • CChainClient - JSON-RPC client for Avalanche C-Chain
    • Balance, nonce, block number, transaction receipt
    • Avalanche-specific: eth_baseFee, eth_suggestPriceOptions
  • GasEstimator - EIP-1559 gas estimation
    • slow/normal/fast price options
    • Transfer fee estimation

Live Example (Fuji Testnet)

final client = CChainClient(network: NetworkConfig.fuji);
final balance = await client.getBalance('0x71C7...');
final estimator = GasEstimator(client);
final options = await estimator.getPriceOptions();
print(options.normal.maxFeePerGas); // in Wei

Tests

278/278 passing · 24 new tests

Next

v0.1.2-dev: AvaxTransferTransaction (EIP-1559 signing + broadcast)

v0.1.0-dev - Phase 1 Complete

Pre-release

Choose a tag to compare

@nemorixgroup nemorixgroup released this 24 Jul 17:22
1456071

Phase 1 complete: the first native Flutter/Dart SDK for Avalanche
can now derive wallets and addresses for all three chains.

What's New

  • Seed - BIP-39 seed derivation (PBKDF2-HMAC-SHA512)
  • HDWallet - BIP-32/BIP-44 HD key derivation
    • C-Chain: m/44'/60'/0'/0/n
    • X/P-Chain: m/44'/9000'/0'/0/n
  • EvmAddress - C-Chain EVM address (keccak256 + EIP-55)
  • XPAddress - X-Chain and P-Chain Bech32 addresses

Full Wallet Cycle

final mnemonic = Mnemonic.generate(wordlist: WordlistEs.instance);
final wallet   = HDWallet.fromMnemonic(mnemonic);
final cAddr    = EvmAddress.fromPublicKey(
                   wallet.derivePublicKeyForCChain());
final xpAddr   = XPAddress.fromPublicKey(
                   wallet.derivePublicKeyForXPChain());

Tests

254/254 passing · 46 new tests this release

Next

M2: C-Chain JSON-RPC client (EIP-1559 AVAX transfers, ERC-20)

v0.0.3-dev - BIP-39 mnemonics EN + ES complete and verified

Choose a tag to compare

@nemorixgroup nemorixgroup released this 16 Jul 02:07
93315a4

BIP-39 mnemonics EN + ES complete and verified.

  • MnemonicStrength, Entropy, Wordlist, WordlistEn, WordlistEs, Mnemonic
  • Spanish wordlist: NFKD encoding, accent-insensitive, HashMap lookup
  • 192/192 tests passing, CI green
  • Official Trezor test vectors verified

Ready to publish v0.0.3-dev to pub.dev.
Next: HD key derivation (BIP-44) + address derivation (develop)

v0.0.2-dev - CB58 encoding/decoding + secp256k1 keys

Choose a tag to compare

@nemorixgroup nemorixgroup released this 01 Jul 02:03
e4fb161

secp256k1 PrivateKey/PublicKey + CB58 encoding complete and verified.

  • PrivateKey/PublicKey: secp256k1, range-validated, security-hardened
  • CB58: encode/decode with checksum, verified against reference impl
  • README: Quick Start with working examples
  • 77/77 tests passing, CI green

Ready to publish v0.0.2-dev to pub.dev.
Next: BIP-39 mnemonics (EN + ES) + HD key derivation (develop)

v0.0.1-dev - Initial SDK Scaffold

Pre-release

Choose a tag to compare

@nemorixgroup nemorixgroup released this 26 Jun 02:49
e5e313c

Initial SDK scaffold - Phase 1 in progress.

What's Included

SDK Core

  • AvalancheClient: main entry point with Mainnet and Fuji Testnet support
  • NetworkConfig: official Avalanche RPC endpoints (C-Chain, P-Chain,
    X-Chain, Glacier API) sourced from docs.avax.network
  • NetworkId: enum for Mainnet (1) and Fuji Testnet (5)
  • AvalancheException: base exception class

Quality Infrastructure

  • very_good_analysis linter: zero warnings enforced
  • scripts/pre_commit.ps1: local gate (format + analyze + test)
  • .github/workflows/ci.yml: GitHub Actions CI pipeline
    (format, analyze, test, coverage 85%+, pub dry-run)
  • .github/pull_request_template.md: PR checklist

Documentation

  • CONTRIBUTING.md: branch strategy, commit conventions, testing standards
  • SECURITY.md: vulnerability reporting and key handling policy
  • CHANGELOG.md: v0.0.1-dev initial entry
  • example/phase1/: networkConfigExamples() with Fuji + Mainnet output

Tests

  • 18/18 passing
  • Coverage: 100% on all skeleton classes (above 85% CI threshold)

Checklist

  • pre_commit.ps1 passes green locally
  • 18/18 tests passing
  • dartdoc on all public API elements
  • No private key material anywhere
  • CHANGELOG.md updated
  • CI green on develop

Next Steps

After merging and publishing v0.0.1-dev on pub.dev:
Phase 1 (M1): secp256k1 key generation, BIP-39 mnemonics (EN + ES),
HD key derivation (BIP-44), EVM address derivation from public key