Skip to content

Releases: throgxyz/tronz

v0.3.0

Choose a tag to compare

@deszhou deszhou released this 10 Jul 15:16
a51bc82

What's Changed

  • feat: exact Trx parsing/formatting, alloy-style helpers, bump 0.3.0 by @deszhou in #27
  • feat: add unit tests for provider builders, fillers, and extension APIs by @deszhou in #24
  • chore: align rustfmt config with alloy and use tracing macros by @deszhou in #25
  • feat: add JSON ABI file path support to tron_sol! by @deszhou in #26

Full Changelog: v0.2.1...v0.3.0

v0.2.1

Choose a tag to compare

@deszhou deszhou released this 06 Jul 14:46

What's Changed

  • chore(deps): bump the ci-weekly group with 5 updates by @dependabot[bot] in #11
  • feat: tron_sol! macro — type-safe TRON contract bindings by @deszhou in #12
  • chore(deps): bump the cargo-weekly group across 1 directory with 5 updates by @dependabot[bot] in #10
  • feat: add tronz-signer-aws — AWS KMS signer by @deszhou in #18
  • chore(deps): bump the ci-weekly group with 2 updates by @dependabot[bot] in #20
  • chore(deps): bump the ci-weekly group with 2 updates by @dependabot[bot] in #21
  • feat: expose get_block_by_number on TronProvider by @deszhou in #22
  • feat: TaposFiller TTL cache, with_tapos(), and unit tests by @deszhou in #23

New Contributors

Full Changelog: v0.2.0...v0.2.1

v0.1.2

v0.1.2 Pre-release
Pre-release

Choose a tag to compare

@deszhou deszhou released this 17 Jun 09:39

BIP-39 HD wallets, Web3 keystore, Stake 1.0, and API alignment

Added

  • HD wallets (signer-mnemonic feature) — MnemonicBuilder for BIP-39 phrase derivation and build_random() for key generation; default path m/44'/195'/0'/0/0 (TRON coin type 195)
  • Web3 keystore (signer-keystore feature) — LocalSigner::encrypt_keystore / decrypt_keystore; scrypt + AES-128-CTR, compatible with TronLink and gotron-sdk
  • Stake 1.0 legacyfreeze_balance_v1(), unfreeze_balance_v1(), get_delegated_resource_v1() / get_delegated_resource_index_v1()
  • 3 new examples: signer_mnemonic, signer_keystore, stake_v1 (42 total)

Breaking Changes

  • All transaction builders: .owner(addr) renamed to .from(addr) — aligns with alloy's TransactionRequest convention
  • WitnessApi::update_witness_url() renamed to update_witness()
  • UndelegateBuilder::from(delegatee) renamed to receiver(delegatee)

Crates

Crate Version
tronz 0.1.2
tronz-provider 0.1.2
tronz-contract 0.1.2
tronz-signer 0.1.2
tronz-primitives 0.1.2

Full Changelog: v0.1.1...v0.1.2

v0.1.1

v0.1.1 Pre-release
Pre-release

Choose a tag to compare

@deszhou deszhou released this 15 Jun 19:39

Initial release of Tronz

Features

  • gRPC transport via tonic — TronGrid mainnet and Nile testnet out of the box
  • Typed provider with composable filler chain: TaposFiller + FeeLimitFiller + SignerFiller
  • Native contract builders: TRX transfer, Stake 2.0 (freeze/unfreeze/delegate/undelegate/withdraw/cancel), vote, claim rewards, account
    create/update/permissions
  • TRC10 (Trc10Api): issue, transfer, participate in ICO, query by ID or name, update metadata
  • TRC20 typed bindings: balance_of, transfer, approve, transfer_from, allowance, and more
  • Smart contracts: ContractInstance, CallBuilder, DeployBuilder, dynamic ABI via alloy-json-abi, energy estimation, event decoding
  • WitnessApi: list SRs, query brokerage and rewards, register as SR, update URL and brokerage
  • GovernanceApi: list, fetch, submit, approve, and cancel on-chain proposals
  • LocalSigner: in-memory secp256k1 signer from a hex private key
  • 39 runnable examples targeting the Nile testnet

Crates

Crate Version
tronz 0.1.1
tronz-provider 0.1.1
tronz-contract 0.1.1
tronz-signer 0.1.1
tronz-primitives 0.1.1

Full Changelog: https://github.com/throgxyz/tronz/commits/v0.1.1