lay2dev / ckb.pw Goto Github PK
View Code? Open in Web Editor NEWCKB Portal Wallet
Home Page: https://ckb.pw
CKB Portal Wallet
Home Page: https://ckb.pw
output 金额输入框中不应该可以输入小数
EIP 712 中提示的地址是 CKB 长地址,而用户输入和接受的地址都是以太坊地址
if not, there will be a signature failure when user is under ethereum tesnet
账户内只有一个 cell,发送完第一笔交易未被打包时,随即发送第二笔交易,会报 output dead 的错误
调整 validation 行为,避免自动跳转输入
解决 UTXO 模型下用户对于 balance 的误解。
用饼图加列表展示用户当前账户内的 cell 的具体信息:提示数量,信息即可
目前锁进 Nervos DAO 的 CKB 金额不会显示在用户 balance 界面,但如果在 balance 界面就显示的话,用户体验上会好很多
考虑上线 UDT 之后的具体展示方式
Happens when the account don't have much capacity, maybe a check before send out tx is needed.
下面的查询只能拿到 8 条记录
https://api.ckb.pw/cell/txList?lockHash=0xa3efc2df7a989455b9bfd3d8972e7bf6e309c3594e81014578632020cf7afd15&size=20&type=in
当前签名的 EIP 712 内仅包含交易哈希和 outputs,为了方便用户了解交易实际情况,建议在字段中加入 input-sum,了解本次交易输入总和;增加 fee 字段,了解本次交易所需手续费。
发送时没有检测余额是否足够
after sending a tx, add a local status pending while waiting for the tx to be mined
EIP 712 签名增加 input-sum 和 fee 两个字段,分别代表输入的 UTXO 总额和手续费
ABC Wallet 导入一个新的以太坊地址,CKB.PW 无法实现切换,因为退出原先钱包后再进入,只会显示 API 链接不通,不会出现选择哪个卡片的弹框。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.