Transfer Aptos Coin as a Fungible Asset #427
Closed
0xblockbard
started this conversation in
Discussions Feedback
Replies: 1 comment
-
ps created in the wrong category. Have recreated here and will close this question. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, most of the docs and code examples show Aptos Coin with the Coin Standard (https://aptos.dev/en/build/smart-contracts/aptos-coin).
However, I've read that it has migrated over to the Fungible Asset Standard, and it's not very clear to me how we will interact with the Aptos Coin using the Fungible Asset Standard.
E.g. legacy coin standard:
use aptos_framework::coin;
coin::transfer(&signer, recipient, amount);
on Fungible Asset standard:
from docs: public entry fun primary_fungible_store::transfer<T: key>(sender: &signer, metadata: Object, recipient: address, amount:u64)
Beta Was this translation helpful? Give feedback.
All reactions