Comments (3)
base on https://github.com/lian/bitcoin-ruby/blob/master/lib/bitcoin.rb#L751 , i've been working on a network for litecoin
here where I succeeded to get
litecoin: {
address_version: '30',
p2sh_version: '32',
p2sh_char: '3',##TODO
privkey_version: 'b0',
privkey_compression_flag: '01',##TODO
extended_privkey_version: "019d9cfe",
extended_pubkey_version: "019da462",
compressed_wif_chars: %w(K L),##TODO
uncompressed_wif_chars: %w(5),##TODO
protocol_version: 70002
},
litecoin_testnet: {
address_version: '6f',
p2sh_version: '3a',
p2sh_char: '2',##TODO
privkey_version: 'ef',
privkey_compression_flag: '01',##TODO
extended_privkey_version: "0436ef7d",
extended_pubkey_version: "0436f6e1",
compressed_wif_chars: %w(c),##TODO
uncompressed_wif_chars: %w(9),##TODO
protocol_version: 70002
}
the ##TODO is value I could not find and for with I kept bitcoin's value
with it, I succeed to generate address corresponding to what I could see on https://iancoleman.io/bip39/
from money-tree.
@netiko so would this be ready for production, just enough so we can generate receiving addresses which would equal to the electrum addresses?
from money-tree.
@netiko allright, i have tested it and it's working!
https://github.com/krtschmr/money-tree/blob/master/lib/money-tree/networks.rb
thanks a lot
from money-tree.
Related Issues (20)
- Wrong address from equivalents derivation path HOT 2
- BIP49 (SegWit) derivation path HOT 10
- money-tree doesn't work on heroku HOT 1
- Ethereum Support HOT 8
- p2sh support HOT 1
- Update gemspec / publish gem HOT 6
- [proposal] activate testnet mode via configuration HOT 1
- can't import to electrum or the other way HOT 2
- DASH and DASH Testnet support
- Problem with openssl version on macOS for Ruby 2.6.5 HOT 6
- `money-tree` performs unsafe FFI and Monkey Patching of OpenSSL HOT 4
- Support for Bitcoin only? HOT 2
- release lib money-tree v0.11.0 to rubygems.org HOT 13
- Bip 32 test vector 5 fails 10/16
- litecoin support HOT 2
- Generate master node from private key HOT 1
- OpenSSL 3 deprecated RIPEMD160 ("legacy feature") HOT 8
- Private Key import fails with OpenSSL 3.0 HOT 2
- Bech32 dependency HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from money-tree.