mmick66 / jswallet Goto Github PK
View Code? Open in Web Editor NEWAn experimental Bitcoin Wallet in Electron + React.js
An experimental Bitcoin Wallet in Electron + React.js
I'm getting the following error PropertyTypeError {message: "Expected property "1" of type Satoshi, got Number -869423492"
hi
in ubuntu, npm run start
cannot start the app.
node: v10.15.1
os: Linux Mint 19.1 Tessa 64bit
I have just forked your repo and after npm install, I started project which runs correctly. But when I create an address it gives me this error....surfing internet but not got the solution yet
internal/crypto/hash.js:33 Uncaught (in promise) Error: Digest method not supported
at new Hash (internal/crypto/hash.js:33)
at createHash (crypto.js:97)
at ripemd160 (/home/jahangir/Desktop/jswallet-master/node_modules/bitcoinjs-lib/src/crypto.js:4)
at Object.hash160 (/home/jahangir/Desktop/jswallet-master/node_modules/bitcoinjs-lib/src/crypto.js:16)
at HDNode.getIdentifier (/home/jahangir/Desktop/jswallet-master/node_modules/bitcoinjs-lib/src/hdnode.js:130)
at HDNode.getFingerprint (/home/jahangir/Desktop/jswallet-master/node_modules/bitcoinjs-lib/src/hdnode.js:134)
at HDNode.derive (/home/jahangir/Desktop/jswallet-master/node_modules/bitcoinjs-lib/src/hdnode.js:274)
at HDNode.deriveHardened (/home/jahangir/Desktop/jswallet-master/node_modules/bitcoinjs-lib/src/hdnode.js:283)
at /home/jahangir/Desktop/jswallet-master/node_modules/bitcoinjs-lib/src/hdnode.js:308
at Array.reduce ()
at HDNode.derivePath (/home/jahangir/Desktop/jswallet-master/node_modules/bitcoinjs-lib/src/hdnode.js:304)
at Function.create (wallet.class.js? [sm]:153)
at validateFormHashed.then.values (wallets.content.component.jsx? [sm]:105)
Thank you for your medium post and this repo.
I've noticed that your transactions are wrongly signed in case there are more than 1 input. Problematic line of code is this:
txb.sign(0, key);
That line is signing only the first (zero index) input, but it should iterate over all inputs and sign with their corresponding index. The same thing is wrong in the medium post.
I send few coins on testnet and waited 30 mins, but wallet does not receive any coins.
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.