Comments (11)
These seems solid now that I think about it. What about moving compressed
to options as well? This really simplifies things especially if we have sane defaults IMHO.
from bip38.
@youssefgh yes, this would solve your problem. If this feature were developed, you would just have to pass addressPrefix: 0x6F and you'd be fine for the testnet. I'd appreciate an options parameter a lot 💪
from bip38.
I'm indifferent... but why?
from bip38.
They are rarely used positional arguments, and we don't actually have an addressPrefix
argument at the moment.
from bip38.
Someone else can re-open this if they need it - I don't have the time to follow up, and the API is great as is 👍
from bip38.
@jprichardson agreed, compressed by default 👍
from bip38.
Is this supposed to add network to params ? because right now decrypting a testnet encrypted key result in an error
Thinks for your efforts ! you rock guys 👍
from bip38.
What is the status on this?
CryptoCoinJS did implement a .version field that supported specifying the required network details, while BitcoinJS does not support alternative networks.
Is there a way to get hold of the old CryptoCoinJS repo?
Example from this URL:
http://cryptocoinjs.com/modules/currency/bip38/
var bip38 = new Bip38();
bip38.version = {private: 0x80, public: 0x0};
There is no such support in BitcoinJS bip38?
from bip38.
I made an implementation using function parameter, as oppose to the old 1.4.0 version which had a version field on the object instance. Please review, and it should close this issue.
from bip38.
bc1qchl0dursnqqjwzma38kqfkhumtju5jjnzqwgx4
from bip38.
Re: AddressPrefix, I think no. My reasoning is here: #44 (comment)
Re: switching from positional to an opts object argument I am for. It would be a breaking change.
However, at this point since BIP38 is discouraged for use by most core devs, This library is mostly here for legacy purposes.
I will go ahead and close this issue.
from bip38.
Related Issues (20)
- Safe Buffer HOT 1
- new Bip38? HOT 1
- api change HOT 1
- Altcoin encrypted wallets? HOT 2
- TypeError: Bip38 is not a constructor HOT 1
- TypeError: Cannot read property 'copy' of undefined HOT 2
- new Error('Invalid checksum') HOT 1
- Example code HOT 2
- Slower than bitaddress.org? HOT 7
- Testnet support HOT 2
- Safe Buffer HOT 1
- Cracking a BIP38 password, with many BIP38 samples HOT 3
- Upgrade to Scryptsy 2.x HOT 2
- Poor performance when decrypting 2+ keys HOT 4
- Add asynchronous support HOT 6
- Scryptsy library complications HOT 6
- BIP38: Passphrase Unicode Normalization HOT 2
- Is there a way to verify incorrect Encrypted key/passphrase pair? HOT 6
- Get encrypted private key from mnemonic for decryption? HOT 3
- No support for SegWit addresses HOT 9
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 bip38.