78 Commits

Author SHA1 Message Date
zhl
28a639f13d 修正计算token价格,小数位数不正确的bug 2023-06-09 18:51:58 +08:00
zhl
c85848ceec 移除estimateGas时的gas, 增加一些常用方法 2023-05-31 17:19:26 +08:00
zhl
6cc9b2ee3a 增加获取支持的法币列表的接口 2023-05-30 14:54:15 +08:00
zhl
460477293d 增加获取eth与美元兑换价格的接口 2023-05-26 14:09:02 +08:00
zhl
a316fc750f 移除一些无用代码,合约地址的配置改为根据链id和环境获取 2023-05-17 18:52:10 +08:00
zhl
f8498487ba 移除一些无用代码 2023-05-17 17:27:04 +08:00
zhl
2db473a365 修改导出密钥, 增加密码验证 2023-05-17 14:16:48 +08:00
zhl
a08c12c535 移除一些敏感信息打印 2023-05-17 11:50:27 +08:00
zhl
eb045cc5c9 不再保存本地密码 2023-05-17 11:46:38 +08:00
zhl
8c43cfe55a 修改检查密码的逻辑,改为直接检查address是否一致 2023-05-17 10:39:33 +08:00
zhl
22abde8821 fix some bug 2023-05-16 19:45:49 +08:00
zhl
0f366b87c7 fix some bug of init wallet 2023-05-15 14:04:31 +08:00
zhl
f63ccb25ec add config of arbitrum goerli 2023-05-15 10:56:34 +08:00
zhl
14dc3debbd remove unused import 2023-05-12 17:34:45 +08:00
zhl
222f84307a 增加email相关方法 2023-05-12 17:31:50 +08:00
zhl
c2a36696b2 修改email注册的渠道号 2023-05-10 19:26:38 +08:00
zhl
6f3262af9d 修改内置钱包初始化流程 2023-05-10 19:14:33 +08:00
zhl
13fdc25a54 增加email登录 2023-04-23 09:41:36 +08:00
zhl
bf4875bf19 refactor: Refactor email verification and payment functions with error handling and validation
- Improve email verification functionality
- Refactor checkEmailVerified to return typed object with verified and email properties
- Add error handling to checkEmailVerified for failed response and invalid data structure or values
- Improve error handling and validation in alchemyPrePay function
- Change alchemyPrePay function to open web page instead of URL
2023-03-24 14:58:10 +08:00
zhl
91c7b9b940 feat: Add functionality to JSB namespace.
- Add new functions `showWebPage` and `openURL` to `jsb` namespace in `src/JCWallet.d.ts`.
- Update file with changelog.
- Improve compatibility with latest version of dependencies.
- Fix minor bugs and refactor code for better performance.
2023-03-24 14:57:25 +08:00
zhl
1a1ca431e3 增加账号email认证相关接口,增加开始购买的接口 2023-03-23 15:41:49 +08:00
zhl
1824e4230e 重构代码 2023-03-23 14:08:06 +08:00
zhl
47c1c81ccb 增加网页版内置钱包扫码登录的功能 2023-03-02 17:01:01 +08:00
zhl
6f6fdd52b9 增加上传钱包地址 2023-03-02 11:59:44 +08:00
zhl
cb688bae3f 回滚facebook等登录方法 2023-02-08 17:29:21 +08:00
zhl
2cd244f3d3 完善facebook登录 2023-02-08 16:22:06 +08:00
zhl
e055eaba7f 增加查询钱包交易记录的方法 2023-02-08 16:22:06 +08:00
zhl
f6ed757a1c 如果交易信息没有gasPrice,那么根据maxFeePerGas和maxPriorityFeePerGas来计算gasPrice 2023-02-08 16:22:06 +08:00
zhl
92fa1b635b 增加日志上报逻辑 2023-02-08 16:22:06 +08:00
zhl
1b99631036 增加sendEth日志记录方法 2023-02-08 16:22:06 +08:00
zhl
e4e055fc1c remove method of presend envent 2023-02-08 16:22:06 +08:00
zhl
d34ffec0ed 在发送本地签名交易前,向客户端抛出transactionHash 2023-02-08 16:22:06 +08:00
zhl
014c155318 change default param of send 1155nft 2022-12-22 19:08:50 +08:00
cebgcontract
416ee4c517 修正发送1155时,参数数量不对的bug 2022-12-22 16:40:46 +08:00
cebgcontract
19b7e53c96 修正一些gas计算未严格转化成整数的bug 2022-12-22 15:16:04 +08:00
cebgcontract
14e92fd53f gas 2022-12-21 16:08:05 +08:00
cebgcontract
c1589f5b89 增加1155获取余额的方法漏出 2022-12-16 18:25:13 +08:00
cebgcontract
86822fcad9 一些跟链交互的方法增加估算gas消耗的功能 2022-12-16 15:49:01 +08:00
cebgcontract
06a91b3e36 完善tiktok登陆 2022-12-15 12:05:57 +08:00
cebgcontract
8cfc528f08 wc不再保存本地session 2022-12-05 19:05:21 +08:00
cebgcontract
430e210bf6 增加内外钱包的切换功能 2022-12-05 15:50:58 +08:00
cebgcontract
6b3b788ed5 加入tiktok登陆相关代码 2022-12-05 12:48:00 +08:00
cebgcontract
f38a4354fd 增加sign with apple 2022-11-29 14:21:20 +08:00
cebgcontract
062f2e4852 内置钱包几个链交互方法增加钱包余额的判断 2022-11-15 17:04:12 +08:00
cebgcontract
611da1d3b3 update chain contract setting 2022-11-15 11:26:32 +08:00
cebgcontract
a82495fc1d 增加eth-lib对本地account的支持 2022-11-15 10:22:56 +08:00
cebgcontract
488d41e052 增加promise retry机制 2022-11-10 22:22:28 +08:00
cebgcontract
5b7a525641 更新polygon testnet配置 2022-11-08 15:52:35 +08:00
cebgcontract
100ea1a45b 更新chiplocker 2022-11-08 12:17:49 +08:00
cebgcontract
d730742724 update address, add chip locker 2022-11-04 18:06:41 +08:00