Multi token standard #180
ilblackdragon
started this conversation in
Ideas
Replies: 1 comment
-
Other approach is we say that we have a fallback from accounts <token_id>.<account_id> to <account_id> if such actual account doesn't exist. This approach requires that all subaccounts (at least at some level) live on the same shard. This is also related to WASM in WASM, where wasm contracts can be named with subaccounts and can be called directly from other contracts as if they are native contracts via promises. |
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
-
Contracts like Ref Finance or EVM contain many tokens internally.
Currently there is no API to surface even which tokens are inside, or transfer / get balances of them.
Either extending or adding a general standard that for example defines some API to query this information (like "<near_account_id>:<internal_token_id>" or first argument in the function to be <internal_token_id>) to allow all the tooling to work with these tokens is critical.
Beta Was this translation helpful? Give feedback.
All reactions