hunterlong / storj-wallet Goto Github PK
View Code? Open in Web Editor NEWStorj Wallet for Windows, Mac and Linux. Send and Receive Storj ERC20 Token and Ethereum (unofficial)
License: MIT License
Storj Wallet for Windows, Mac and Linux. Send and Receive Storj ERC20 Token and Ethereum (unofficial)
License: MIT License
Hello @hunterlong good evening
i have a question and issue, i need your support please.
1- I forked your repo and tried to make wallet for different erc20 token. So I changed the contract address at https://github.com/hunterlong/storj-wallet/blob/master/js/main.js#L22. Only changing the contract address is enough for backend part? Do i need to do extra thing except for fronted parts?
2- I changed the contract address, and compiled the app. I didnot tested the functionality but after started the app (windows) the balance of erc20 token changes suddenly from 0.0000 to 0,0000.undefined. How can fix this?
3- not big deal but close button not works. i changed as
function QuitAppButton()
{
window.close()
}
it works now
Thank you foryour help,
Best regards
Hi @hunterlong, i need your help please, the upload keystore file button not works for me. I got the following error at DevTools. Actually it works for storj wallet, probably i did something wrong but i cannot fix this.
my repo: https://github.com/PlusBitPos/c-wallet
Uncaught Reference Error: Cannot access 'dialog' before initialization at OpenKeystoreFile (main.js:246) at HTMLButtonElement.onclick (index.html:198)
------------------------------main.js:246
var keyFile;
function OpenKeystoreFile() {
dialog.showOpenDialogSync(function(fileNames) {
if (fileNames === undefined) return;
keyFile = fileNames[0];
console.log(keyFile);
});
}
----------------------------index.html:198
Open Keystore File
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]~prestart: [email protected]
6 silly lifecycle [email protected]~prestart: no script for prestart, continuing
7 info lifecycle [email protected]~start: [email protected]
8 verbose lifecycle [email protected]~start: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]~start: PATH: /usr/share/npm/bin/node-gyp-bin:/home/USER/Downloads/storj-wallet/node_modules/.bin:/home/USER/bin:/home/USER/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin
10 verbose lifecycle [email protected]~start: CWD: /home/USER/Downloads/storj-wallet
11 silly lifecycle [email protected]~start: Args: [ '-c', 'electron .' ]
12 silly lifecycle [email protected]~start: Returned: code: 1 signal: null
13 info lifecycle [email protected]~start: Failed to exec start script
14 verbose stack Error: [email protected] start: `electron .`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.<anonymous> (/usr/share/npm/lib/utils/lifecycle.js:232:16)
14 verbose stack at emitTwo (events.js:87:13)
14 verbose stack at EventEmitter.emit (events.js:172:7)
14 verbose stack at ChildProcess.<anonymous> (/usr/share/npm/lib/utils/spawn.js:24:14)
14 verbose stack at emitTwo (events.js:87:13)
14 verbose stack at ChildProcess.emit (events.js:172:7)
14 verbose stack at maybeClose (internal/child_process.js:821:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
15 verbose pkgid [email protected]
16 verbose cwd /home/USER/Downloads/storj-wallet
17 error Linux 4.10.0-42-generic
18 error argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
19 error node v4.2.6
20 error npm v3.5.2
21 error code ELIFECYCLE
22 error [email protected] start: `electron .`
22 error Exit status 1
23 error Failed at the [email protected] start script 'electron .'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the storj-wallet package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error electron .
23 error You can get information on how to open an issue for this project with:
23 error npm bugs storj-wallet
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls storj-wallet
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
sorry for being a noob
Suppose I have a different contract address, can I use that with this as a wallet for my users?
Thank you!
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.