Comments (2)
if the Token is supported burn, can directly burn the token by function, such as STC can burn by 0x1::STC::burn(STC)
.
So we can deploy a Module, provide some script functions for burn token, such as:
public(script) function burn_stc(signer, amount){
//withdraw stc from signer, account
let token = Account::withdraw<STC>(&signer, amount);
STC::burn(token);
}
Then we can provide a DApp Page, and allow users to select Token in their balance and burn it.
from movetool.
Easy to cause losses to assets for the time being
from movetool.
Related Issues (20)
- feat: 开发一个合约部署Dapp HOT 1
- [开发工具] 错误码描述表生成工具或者查询工具
- [Feature Request] Support deploy to new domain HOT 1
- [Feature Request] DApp framework support connect to multiple move chain
- [Feature Request] Support connect to Aptos
- [Feature Request] Support connect to Sui
- [Feature Request] Connect to 0L
- [bug] js 数字相除,金额小数点精度的问题
- [Feature Request] 添加一个合约调用的功能 HOT 1
- [Feature Request] Aptos Approve new token
- yarn start 报错
- BUG: 合约调用功能,类型参数没有生效 HOT 2
- 【Issue with bounty】Parser ABI in Aptos for a prettier look. HOT 2
- 在没有安装starmask的情况下,界面无任何显示 HOT 1
- [Feature Request] 在页面上能够显示钱包状态,例如是否锁定了?
- BUG: 合约调用,没有列出所有模块 HOT 4
- 识别 localhost network
- [tool]disassemble Move bytecode
- [tool]disassemble Move bytecode HOT 2
- aptos 和sui 的支持,拆分成独立的项目
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from movetool.