简体   繁体   中英

Is it possible to custom tokens on ethereum

My requirement is to create custom tokens, using smart contracts, based on the input data, that are locked forever ( non transferable )

Every request will create different tokens based on the input data

Of course it's possible. Why wouldn't it be? You just need to restrict access to transfer and transferFrom so that they aren't available to the general public. You could not implement any transfer logic at all in these methods, but you run the risk of tokens being locked forever (unless you put the data storage into another contract), or restrict access to those methods with modifiers.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM