MystenLabs / sui

Sui, a next-generation smart contract platform with high throughput, low latency, and an asset-oriented programming model powered by the Move programming language
https://sui.io
Apache License 2.0
6.24k stars 11.2k forks source link

Feature Request: Object owned by smart contract #5746

Open truong-elpis opened 2 years ago

truong-elpis commented 2 years ago

I am learning SUI as well as how to write smart contract on SUI but I am having a big problem how to define resource owned only by smart contract. Example: I'm building an ERC20-like token on SUI, I want a resource (structure) that represents the token's supply and I don't want this resource to be owned by one person because I want a group to be able to control the token supply. Sorry for my bad English. Thanks !!!

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.