Skip to content

feat(trx): add AccountCreateContract tx builder#8773

Draft
bhavidhingra wants to merge 2 commits into
masterfrom
bhavidhingra/chalo-457-feattrx-add-accountcreatecontract-support
Draft

feat(trx): add AccountCreateContract tx builder#8773
bhavidhingra wants to merge 2 commits into
masterfrom
bhavidhingra/chalo-457-feattrx-add-accountcreatecontract-support

Conversation

@bhavidhingra
Copy link
Copy Markdown
Contributor

Summary

  • Add AccountCreateTxBuilder for building TRX AccountCreateContract transactions
  • Add ACCOUNT_CREATE_TYPE_URL constant, AccountCreate ContractType enum value, iface types, decode helper, and wrappedBuilder factory integration
  • Add TransactionType.AccountCreate to sdk-core enum for on-chain address activation support

Test plan

  • Unit tests added in modules/sdk-coin-trx/test/unit/transactionBuilder/accountCreateTxBuilder.ts
  • Run yarn test in modules/sdk-coin-trx to verify all tests pass
  • Verify AccountCreateTxBuilder correctly encodes/decodes AccountCreateContract transactions

TICKET: CHALO-457

🤖 Generated with Claude Code

Add AccountCreate to TransactionType for on-chain address
activation (e.g. TRX AccountCreateContract).

TICKET: CHALO-457
Add AccountCreateTxBuilder, ACCOUNT_CREATE_TYPE_URL constant,
AccountCreate ContractType enum value, iface types, decode
helper, transaction.ts case, wrappedBuilder factory, and
unit tests for the new builder.

TICKET: CHALO-457
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 14, 2026

CHALO-457

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant