dvdbng / memwallet Goto Github PK
View Code? Open in Web Editor NEWlike WarpWallet but for Ethereum, Litecoin, Monero and Bitcoin
Home Page: https://dvdbng.github.io/memwallet/
like WarpWallet but for Ethereum, Litecoin, Monero and Bitcoin
Home Page: https://dvdbng.github.io/memwallet/
Hi David,
Great job on the memwallet. I've always wanted to figure out how to generate other coins using the warpwallet setup. I'm still learning how this all works and trying to wrap my head around it as I'm not a js ninja like you.
I've been poking around to see how it works. Below is the code that setups the difficulty of the scrypt with Math.pow. My question is does it have to be a Math.pow() ? Why can't you just put any number in there? I tried it with scrypt(), but it throws an error as it needs to be the power of 2. It works for pbkdf2 with any number in there, but I dont understand why it has to be to the 2^N power. Be great if you can explain it.
scrypt(Buffer.concat([password_buffer, x1]), Buffer.concat([salt_buffer, x1]), Math.pow(2, power), 8, 1, 32, function(error, progress, key1) {
if(key1) {
pbkdf2.pbkdf2(Buffer.concat([password_buffer, x2]), Buffer.concat([salt_buffer, x2]), Math.pow(2, 16), 32, 'sha256', function(err, key2) {
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.