Skip to content
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

Transferring Native Currency from an ethereum account -> substrate account #1258

Open
dlebee opened this issue Dec 13, 2023 · 1 comment
Open
Labels

Comments

@dlebee
Copy link

dlebee commented Dec 13, 2023

Question

Hello,

Trying to figure out how to transfer the native currency balance from an Ethereum account on metamask to a substrate address.

I tried to use the tool that converts a substrate address to an Ethereum address, and used it as a receiver address that isn't working.

Is there any contract that takes a substrate address already programmed to transfer ETH?


Another alternative not using metamask could be to offer a custom pallet that accept a unsigned extrinsic, but takes an RLP signed message of the private key of the user that wants to transfer it, it would obviously take some fees somehow.

Thank you

@wangminqi
Copy link

wangminqi commented Apr 25, 2024

This is up to your pallet-evm AddressMapping.
Please provide code of your setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants