feat: add viem/tokens entrypoint#4767
Conversation
Adds a composable viem/tokens entrypoint: - Generic Actions.erc20.* actions (read/write/sync/watch) with .call + extractEvent - Decorators.defineErc20 factory + usdc() client decorator (client.usdc.*) - Per-chain USDC address map (Addresses.usdc) - String amounts parsed via decimals; address resolvable from client chain, an explicit address, or a chain override - Docs (site/pages/tokens.mdx) wired into core + Tokens sidebars Checkpoint before refactor to chain-config tokens + tokenActions() proxy. Amp-Thread-ID: https://ampcode.com/threads/T-019f00b4-7aca-73df-8be4-4e0aa526a460
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: f707a1a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
commit: |
viem/tokens entrypoint
Adds a
viem/tokensentrypoint with first-class token actions and utilities.