You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The native token is special and has first-class support in our account model (as in all other EVM chains that I know of). Usually, developers need to handle this special case in their contracts. For example an exchange might need functions to swap tokens for other tokens, tokens for ZIL and ZIL for tokens.
To make life easier for developers, we should add a precompile which exposes an ERC-20-compatible interface to the chain's native token.
We'll have to think about how exactly to support allowances and events.
The text was updated successfully, but these errors were encountered:
The native token is special and has first-class support in our account model (as in all other EVM chains that I know of). Usually, developers need to handle this special case in their contracts. For example an exchange might need functions to swap tokens for other tokens, tokens for ZIL and ZIL for tokens.
To make life easier for developers, we should add a precompile which exposes an ERC-20-compatible interface to the chain's native token.
We'll have to think about how exactly to support allowances and events.
The text was updated successfully, but these errors were encountered: