howardwu / wagyu

A Rust library for generating cryptocurrency wallets
https://wagyu.dev
Apache License 2.0
608 stars 108 forks source link

Support Tron network #278

Open joeky888 opened 2 years ago

joeky888 commented 2 years ago

Started out quite a while ago, I think it's time for contributing.

With this PR wagyu can generate or import standard/HD trx/trc20 wallets. However, tron transaction isn't implemented yet.

joeky888 commented 2 years ago

pub type TronAmount = EthereumAmount;

As much as I understand your stand on DRY (don't repeat yourself). Here are some thoughts, I would like to keep them independent.

  1. Good for customizability on private blockchains.
  2. I personally maintained a customized build of wagyu.
  3. I don't use Ethereum, so in my case I would like to remove it from my custom build of wagyu.
  4. If someone really wants to share resources between these two, I will keep an open-mind on the official wagyu.