InfraBlockchain / yosemite-public-blockchain

YOSEMITE Public Blockchain - General Purpose Public Blockchain for Business
https://yosemitex.com
Other
5 stars 1 forks source link

How To Determine Native Token Symbol #3

Closed EugeneChung closed 6 years ago

EugeneChung commented 6 years ago

The EOS.IO software determines its native token symbol at compile time, which its default is SYS,4. contracts/eosiolib/core_symbol.hpp.in

We must make a decision whether to use compile time approach or runtime approach. For compile time approach, we have to make binaries and release them for each FIAT token(e.g. DKRW, DUSD). For runtime approach, there are two ways to determine the native token symbol, genesis block approach or smart contract(yx.system or yx.ntoken) approach.

EugeneChung commented 6 years ago

We use compile time approach. It cannot be changed at runtime and there's only one native token symbol for the blockchain network.