farukterzioglu / HDWallet

A generic HD wallet for Elliptic Curve (Secp256k1) and Edwards-curve (Ed25519) based crypto currencies like Bitcoin, Ethereum, Cosmos, Tezos, Tron, Cardano, Polkadot, Avalanche, FileCoin and more.
MIT License
79 stars 37 forks source link

Tutorial about how to create Dogecoin and Litecoin HD Wallet #63

Open nestforce opened 2 years ago

nestforce commented 2 years ago

As the title mentioned, could provide some example code of how to create Dogecoin and Litecoin HD Wallets?

Thanks

farukterzioglu commented 2 years ago

First you need to add their coin number here: https://github.com/farukterzioglu/HDWallet/blob/master/src/HDWallet.Core/BIP44/CoinType.cs Then you can create a new class as https://github.com/farukterzioglu/HDWallet/blob/master/src/HDWallet.Bitcoin/BitcoinHDWallet.cs#L7 (You will also need to duplicate the whole project https://github.com/farukterzioglu/HDWallet/tree/master/src/HDWallet.Bitcoin)