Skip to content

chore: Add Tron blockTime + multicall deployment#4520

Merged
jxom merged 3 commits intowevm:mainfrom
pxrl:pxrl/tron
Apr 21, 2026
Merged

chore: Add Tron blockTime + multicall deployment#4520
jxom merged 3 commits intowevm:mainfrom
pxrl:pxrl/tron

Conversation

@pxrl
Copy link
Copy Markdown
Contributor

@pxrl pxrl commented Apr 16, 2026

Tron has 3s slots, where each slot is expected to produce a block.
https://developers.tron.network/docs/concensus#definition

Multicall3 deployment from https://www.multicall3.com/deployments. The
Multicall3 website uses Tron's base58 encoding; the address here is
base16 20 bytes (checksum + 0x41 prefix dropped).

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 16, 2026

@pxrl is attempting to deploy a commit to the Wevm Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 16, 2026

🦋 Changeset detected

Latest commit: 580cdfb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
viem Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment thread src/chains/definitions/tron.ts Outdated
},
contracts: {
multicall3: {
address: '0x32a4F47A74a6810BD0bF861CABAb99656a75DE9E',
Copy link
Copy Markdown
Contributor Author

@pxrl pxrl Apr 16, 2026

Choose a reason for hiding this comment

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

Deployment: https://tronscan.org/#/contract/TEazPvZwDjDtFeJupyo7QunvnrnUjPH8ED/code

Converted to base16 20 bytes:

require("@across-protocol/sdk").utils.TvmAddress.from("TEazPvZwDjDtFeJupyo7QunvnrnUjPH8ED").toEvmAddress()
'0x32a4F47A74a6810BD0bF861CABAb99656a75DE9E'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@jxom I see you dropped this from the eventual commit. Possible to confirm why? This deployment is listed on the multicall3 website.

http: ['https://api.trongrid.io/jsonrpc'],
},
},
blockTime: 3000,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 16, 2026

Open in StackBlitz

npm i https://pkg.pr.new/viem@4520

commit: 580cdfb

@jxom jxom merged commit 3e88a77 into wevm:main Apr 21, 2026
23 of 30 checks passed
@github-actions github-actions Bot mentioned this pull request Apr 21, 2026
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.

2 participants