Skip to content

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

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

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
Contributor

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.

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

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant