Skip to content

feat(cast): add erc20 create subcommand for TIP-20 token deployment#13980

Closed
stevencartavia wants to merge 1 commit intofoundry-rs:masterfrom
stevencartavia:cast-erc20-create
Closed

feat(cast): add erc20 create subcommand for TIP-20 token deployment#13980
stevencartavia wants to merge 1 commit intofoundry-rs:masterfrom
stevencartavia:cast-erc20-create

Conversation

@stevencartavia
Copy link
Copy Markdown
Collaborator

Adds cast erc20 create (alias cast tip20 create) for deploying TIP-20 tokens via the TIP20Factory precompile.

  • New Create subcommand with 6 args: name, symbol, currency, quote_token, admin, salt
  • ISO 4217 currency code validation with interactive prompt (skip with --force)
  • Works with both keychain (access key) and standard wallet flows
  • tempo-contracts dependency added for TIP20_FACTORY_ADDRESS and is_iso4217_currency
  • tempo.rs converted to tempo/ module directory for iso4217 submodule

Known gap: --sync flag is ignored in the keychain path (marked with TODO at L644). Will be resolved when send_raw_sync is added to CastTxSender.

Copy link
Copy Markdown
Member

@zerosnacks zerosnacks left a comment

Choose a reason for hiding this comment

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

Makes sense 👍

@zerosnacks
Copy link
Copy Markdown
Member

Closing in favor of #14158 & #14160

@zerosnacks zerosnacks closed this Apr 7, 2026
@github-project-automation github-project-automation bot moved this to Done in Foundry Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants