-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wasp-cli register-erc20-native-token foundry-sn #3063
Comments
I'm sorry for the confusion, we need to improve the documentation and UX with regards to native assets massively. You should be able to register that alias/foundry output on the chain using the following command:
https://wiki.iota.org/wasp-evm/reference/core-contracts/evm/#registererc20nativetokenonremotechain |
Mhmm that still didn't work for me. Created a new wallet in wasp-cli and firefly and then minted the alias and native tokens in firefly.
Hex seed: What is the difference between the --target and --chain flags for the register-erc20-native-token-on-remote-chain command? |
Sigh, you're right. Right now the only way to actually register it is to make a request on behalf of your alias, and invoke The UX sucks right now, this is because the Chain cannot see outputs that don't belong directly to it. The simplest way, as it stands right now, is to use the chain itself to create a foundry/mint native tokens and then call Thank you for reporting the issue, it is important to us to identify sore spots like this in the UX and address them 👍 |
Thanks for the response @jorgemmsilva Is there documentation on how to encode the metadata of the transaction for on-ledger-requests? I also tried adding a register-erc721-nft-collection command to wasp-cli, but I always get |
you can find the request metadata specs here: iotaledger/tips#155 That endpoint will only show fungible tokens, to see NFTs that belong to some account, you need to use:
To call |
Thank you for the PR #3059 @jorgemmsilva !
My wallets in Firefly and Wasp-CLI now generate the same addresses.
Now I have a new problem:
I have created an alias and native token via Firefly and tried to register the token on the chain, but when calling the
register-erc20-native-token
command I'm getting this error:I think this might be due to the fact that I'm calling the wasp-cli command from my wallet address instead of the alias address?
For further reference:
wallet address
alias address
The text was updated successfully, but these errors were encountered: