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

L2에서 토큰 전송 #5

Open
she110ff opened this issue Aug 7, 2023 · 1 comment
Open

L2에서 토큰 전송 #5

she110ff opened this issue Aug 7, 2023 · 1 comment
Assignees

Comments

@she110ff
Copy link
Contributor

she110ff commented Aug 7, 2023

No description provided.

@she110ff she110ff self-assigned this Aug 7, 2023
@she110ff
Copy link
Contributor Author

she110ff commented Aug 14, 2023

Transfer Token

  const transfer = await zkSyncWallet.transfer({
    to: receiverWallet,
    token: l2FunToken,
    amount,
  });

  // Await commitment
  const transferReceipt = await transfer.wait();

** Metamask 에서도 전송 가능
** ETH 도 동일한 코드 형식으로 전송 가능

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

No branches or pull requests

1 participant