Skip to content

feat(trx): add AccountCreateContract tx builder#8773

Merged
bhavidhingra merged 1 commit into
masterfrom
bhavidhingra/chalo-457-feattrx-add-accountcreatecontract-support
May 20, 2026
Merged

feat(trx): add AccountCreateContract tx builder#8773
bhavidhingra merged 1 commit 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

@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 14, 2026

CHALO-457

@bhavidhingra bhavidhingra force-pushed the bhavidhingra/chalo-457-feattrx-add-accountcreatecontract-support branch 2 times, most recently from 2d685ce to 07bbc63 Compare May 18, 2026 10:32
@bhavidhingra bhavidhingra marked this pull request as ready for review May 18, 2026 11:41
@bhavidhingra bhavidhingra requested review from a team as code owners May 18, 2026 11:41
ranga-r2
ranga-r2 previously approved these changes May 18, 2026
Comment thread modules/sdk-coin-trx/src/lib/accountCreateTxBuilder.ts Outdated
Comment thread modules/sdk-coin-trx/src/lib/accountCreateTxBuilder.ts Outdated
@bhavidhingra bhavidhingra force-pushed the bhavidhingra/chalo-457-feattrx-add-accountcreatecontract-support branch from 07bbc63 to 6d12524 Compare May 18, 2026 13:36
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
@bhavidhingra bhavidhingra force-pushed the bhavidhingra/chalo-457-feattrx-add-accountcreatecontract-support branch from 6d12524 to f827d69 Compare May 18, 2026 13:41
Copy link
Copy Markdown
Contributor

@Marzooqa Marzooqa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ for wp chnages

@bhavidhingra bhavidhingra merged commit f226c24 into master May 20, 2026
22 checks passed
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.

4 participants