Comments (6)
from rust-wallet.
For BIP39 mnemonics, it's probably better to use https://github.com/rust-bitcoin/rust-bip39.
from rust-wallet.
Sure, but this code still doesn't appear to work as demonstrated by the test case.
EDIT
Just to make sure you understand the scenario: I am splitting and recombining a seed using a 2,3 scheme not simply trying to roundtrip a seed to mnemonic and back using a 1,1 "split".
from rust-wallet.
Actually, I'm not sure how BIP39 could even be used in place of the test case I have provided here. The only API exposed by this crate to serialize a SLIP-0039 share involves taking the mnemonic representation of the share. The Share struct, while public, doesn't offer any functions to convert to a vector or slice of u8 in the fixed format specified in slip0039. Are you suggesting that to_mnemonic is deprecated and we should be manually serializing the Share struct and then sending it though your rust-bip39 crate? Why not just update to_mnemonic to use rust-bip39?
from rust-wallet.
Oh sorry I missed that you were talking about the SSS feature of this crate. I'm sorry to say that I have actually never looked at it. I took over maintenance from the previous maintainer of this crate. Tbh I spent some time in the past thinking about refactoring a lot of stuff in here and the shamir stuff would be one of the first things to go as it's really not required to build a bitcoin wallet.
from rust-wallet.
Just FYI this crate is linked as an implementation of SLIP-0039 from: https://github.com/satoshilabs/slips/blob/master/slip-0039.md. I agree it would be nice to pull SSS & SLIP-0039 out of the bitcoin_wallet crate and into its own home. It's much cleaner that way and a separate concern.
from rust-wallet.
Related Issues (14)
- Unused `birth` field in `MasterAccount` structure HOT 1
- Serde serialization is not used
- `rand` crate depends on `ppv-lite86` which has `use crate::...`
- Can't use library for WASM target compilation HOT 1
- Sign P2WSH HOT 1
- Including the latest rust-wallet and rust-bitcoin as dependencies causes errors HOT 5
- `no_std` support HOT 1
- Bitcoin
- Bumps [chart.js](https://github.com/chartjs/Chart.js) from 2.9.3 to 2.9.4.
- npm install bitcoinjs-lib # optionally, install a key derivation library as well npm install ecpair bip32 # ecpair is the ECPair class for single keys # bip32 is for generating HD keys
- rust-bicoin community tagline contains freenode HOT 1
- No longer maintaned HOT 2
- bip39 integration HOT 16
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 rust-wallet.