Skip to content

sclihuiming/tronlink-desktop

Repository files navigation

TronLink-desktop

背景

由于 chrome91 之后通过 u2f 的协议不能直接连接 ledger 了, 如果浏览器扩展需要使用 ledger, 则必须使用 ledger live 这个软件来作为桥,然后才能使用 ledger 的相关功能. 故这里为了方便自己使用 ledger, 写了一个桌面级软件, 跳出浏览器限制, 直接使用 usb 或者蓝牙(需要 ledger 设备支持)来使用 ledger. 兼容 tronlink-extension 注入 dapp 的 tronweb 变量, 可以参考tronLink 插件文档

第一次使用 electron 和 typescript,很多语法不太优雅,有很多的 any.

todo

  • 登陆
  • 账户管理
  • 节点选择
  • Page Hook 注入
  • 签名模态框
  • webview 事件通知
  • 通过 usb 连接 ledger
  • 通过蓝牙连接 ledger
  • ledger 账户签名
  • kdf(scrypt)加密
  • 界面优化

To Use

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
git clone https://github.com/sclihuiming/tronlink-desktop.git
# Go into the repository
cd tronlink-desktop
# Install dependencies
yarn install
# Run the app
yarn start
# package th app
yarn package

Note: If you're using Linux Bash for Windows, see this guide or use node from the command prompt.

界面图

License

CC0 1.0 (Public Domain)

About

Tronlink pc client application

Resources

License

Stars

Watchers

Forks

Packages

No packages published