Git Product home page Git Product logo

ripple-client-desktop's Introduction

Desktop Client

Install Dependencies

  • Fork and clone the ripple-client-desktop repository
  • Run npm install
  • Download nw.js

Build

  • In the ripple-client-desktop repository, make a copy of the config_example.js file and name it config.js

  • Run gulp in your command line for development

  • Run gulp packages in your command line for the production ready client

  • Your desktop client is in the packages/RippleAdminConsole directory

Note

  • There are breaking changes in the c++ API when using node version 4. You should use node version 0.12.
  • The current package.json is intended to pull directly from the develop branch of ripple-lib. You may need to clone the ripple-lib respository into node_modules/ripple-lib and then run npm install in the cloned ripple-lib repository.

ripple-client-desktop's People

Contributors

abahgat avatar abrkn avatar adaptive avatar ahbritto avatar anfedorov avatar annatonger avatar ansimuz avatar bss- avatar bsteinlo avatar darkdarkdragon avatar geertweening avatar jatchili avatar jedmccaleb avatar jtimon avatar justinlynn avatar justmoon avatar kevinejohn avatar madsn avatar matthewphinney avatar mesrop avatar mrajvanshy avatar mynetx avatar orzfly avatar ripplar avatar shekenahglory avatar singpolyma avatar sublimator avatar vhpoet avatar wltsmrz avatar yongsoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ripple-client-desktop's Issues

npm error and build error on Windows

the latest develop branch

npm errors

[email protected] postinstall J:\ripple\ripple-client-desktop
cd node_modules/sjcl; ./configure --with-all --compress=none; make

系统找不到指定的路径。(system can not find the path)

npm ERR! Windows_NT 5.2.3790
npm ERR! argv "J:\Program Files\nodejs\node.exe" "J:\Program Files\nodejs
\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: cd node_modules/sjcl; ./configure --wi th-all --compress=none; make
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'cd node_modules/sj
cl; ./configure --with-all --compress=none; make'.
npm ERR! This is most likely a problem with the RippleClient package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cd node_modules/sjcl; ./configure --with-all --compress=none; make
npm ERR! You can get their info via:
npm ERR! npm owner ls RippleClient
npm ERR! There is likely additional logging output above.


build error

[11:08:41] Version: webpack 1.12.2
Asset Size Chunks Chunk Names
vendor.js 2.55 MB 0 [emitted] main

ERROR in ./src/js/entry/vendor.js
Module not found: Error: Cannot resolve module 'ripple-lib' in J:\ripple\ripple-
client-desktop\src\js\entry
@ ./src/js/entry/vendor.js 7:19-40 8:16-37
[11:08:48] Version: webpack 1.12.2
Asset Size Chunks Chunk Names
app.js 408 kB 0 [emitted] main

build failed when I run "gulp", how to fix it?

[21:13:00] Version: webpack 1.14.0

ERROR in ./src/js/entry/vendor.js
Module build failed: ReferenceError: [BABEL] /Users/johan/my_ripple_experiment/ripple-client-desktop/src/js/entry/vendor.js: Unknown option: /Users/johan/my_ripple_experiment/package.json.presets
at Logger.error (/Users/johan/my_ripple_experiment/ripple-client-desktop/node_modules/babel-core/lib/transformation/file/logger.js:58:11)
at OptionManager.mergeOptions (/Users/johan/my_ripple_experiment/ripple-client-desktop/node_modules/babel-core/lib/transformation/file/options/option-manager.js:126:29)
at OptionManager.addConfig (/Users/johan/my_ripple_experiment/ripple-client-desktop/node_modules/babel-core/lib/transformation/file/options/option-manager.js:107:10)
at OptionManager.findConfigs (/Users/johan/my_ripple_experiment/ripple-client-desktop/node_modules/babel-core/lib/transformation/file/options/option-manager.js:171:32)
at OptionManager.init (/Users/johan/my_ripple_experiment/ripple-client-desktop/node_modules/babel-core/lib/transformation/file/options/option-manager.js:229:12)
at File.initOptions (/Users/johan/my_ripple_experiment/ripple-client-desktop/node_modules/babel-core/lib/transformation/file/index.js:147:75)
at new File (/Users/johan/my_ripple_experiment/ripple-client-desktop/node_modules/babel-core/lib/transformation/file/index.js:137:22)
at Pipeline.transform (/Users/johan/my_ripple_experiment/ripple-client-desktop/node_modules/babel-core/lib/transformation/pipeline.js:164:16)
at transpile (/Users/johan/my_ripple_experiment/ripple-client-desktop/node_modules/babel-loader/index.js:12:22)
at Object.module.exports (/Users/johan/my_ripple_experiment/ripple-client-desktop/node_modules/babel-loader/index.js:71:12)

PathFind Results Error

When I try to create payments there were no results for the following values:
Sending USD: Values between 2 and 14 = no results, 1 or >14 worked
Sending BRL: Values between 5 and 54 = no results, < 5 or > 54 worked

EDIT: The values were the result of fulfilling two conditions:
1 - There is a valid path to deliver an IOU using XRP
2 - The amount of XRP used in the payment must be high enough to cause "Error: Exceeding max value of 100000000000\n"

Version: 1.3.2-60-g339e6e1
Im using windows 10 64bits version

1.4.0-rc2 multiple issues

I checked out tag 1.4.0-rc2 and am trying to build it:

  • The README.md says use node 0.12 but I have 0.10.25 (Ubuntu Trusty). Is that ok.
  • Running 'gulp packages' I get
ERROR in ./src/js/tabs/history.js
Module not found: Error: Cannot resolve module 'json2csv' in /home/tenant/dev/ripple-client-desktop/src/js/tabs
 @ ./src/js/tabs/history.js 8:15-34

I also get several warnings about missing module vertx and dependencies already raised in another issue.

  • As per the packages subdirectory, the Ripple desktop client is now called Ripple Admin Console is that correct?
  • When I start the (linux 64) client from the packages subdir, I get a blank window with a spinning Ripple logo in the center and nothing else.
  • According to Wireshark, it is trying to connect to my SOCKS proxy instead of the HTTP proxy. Is this a regression? There was an earlier issue along those lines a while ago.

Unable to trust gateway

Created a new local wallet, funded with ripples.
Attempted to create gateway trust to rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q
Click dialog, grant trust, nothing happens.
Go to settings, click modify trust, advanced.
Client restarts, log back in w/ wallet creds
Click fund, gateways, connect gateways,
Add rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q trust for 100000
Nothing happens again.

Log:

[19209:1114/121954:INFO:CONSOLE(25)] ""[2014-11-14T19:19:54.726Z]" "server: wss://s-west.ripple.com:443 (~~~)" "request:" {"command":"account_info","id":7,"account":"~~~"}", source: webpack-module:///./src/js/ripple/log.web.js (25)
[19209:1114/121955:INFO:CONSOLE(25)] ""[2014-11-14T19:19:55.077Z]" "server: wss://s-west.ripple.com:443 (~~~)" "response:" {"id":7,"result":{"account_data":{"Account":"rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q","Balance":"51503232881","Domain":"736E6170737761702E7663","EmailHash":"~~~","Flags":655360,"LedgerEntryType":"AccountRoot","OwnerCount":0,"PreviousTxnID":"D5F14635E0AD0CC087FDA915D585ADA849912B1BC09FE844D2A6A6E7A0EA73CD","PreviousTxnLgrSeq":9939047,"Sequence":110,"index":"A3C1529122C3DBD6C96B9DF009FF4896023FE6B4E05A508B1E81F3DCD9A6274B","urlgravatar":"http://www.gravatar.com/avatar/e99857d015e4c4472fcbfa3ad259d017"},"ledger_current_index":9939184,"validated":false},"status":"success","type":"response"}", source: webpack-module:///./src/js/ripple/log.web.js (25)
[19209:1114/121955:INFO:CONSOLE(25)] ""[2014-11-14T19:19:55.089Z]" "remote: response: " {"id":7,"result":{"account_data":{"Account":"rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q","Balance":"51503232881","Domain":"736E6170737761702E7663","EmailHash":"E99857D015E4C4472FCBFA3AD259D017","Flags":655360,"LedgerEntryType":"AccountRoot","OwnerCount":0,"PreviousTxnID":"D5F14635E0AD0CC087FDA915D585ADA849912B1BC09FE844D2A6A6E7A0EA73CD","PreviousTxnLgrSeq":9939047,"Sequence":110,"index":"A3C1529122C3DBD6C96B9DF009FF4896023FE6B4E05A508B1E81F3DCD9A6274B","urlgravatar":"http://www.gravatar.com/avatar/e99857d015e4c4472fcbfa3ad259d017"},"ledger_current_index":9939184,"validated":false},"status":"success","type":"response"}", source: webpack-module:///./src/js/ripple/log.web.js (25)

[19209:1114/122000:INFO:CONSOLE(25)] ""[2014-11-14T19:20:00.580Z]" "transactionmanager: transaction finalized:" {"Flags":131072,"Memos":[{"Memo":{"MemoType":"636c69656e74","MemoData":"727431303366346237"}}],"TransactionType":"TrustSet","Account":"~~~~","LimitAmount":{"value":"1000000000","currency":"USD","issuer":"rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q"},"Sequence":1,"SigningPubKey":"0237D9E10EE4D0EDFC0B093239E485E1FD820BF3FA1FC253A46E7469F217E2AFF1","Fee":"12000"} 0", source: webpack-module:///./src/js/ripple/log.web.js (25)

ripple-lib not found

i got few errors.so i installed ripple-lib by cloning repo. now i got this error.why is that?

ERROR in ./src/js/entry/vendor.js
Module not found: Error: Cannot resolve module 'ripple-lib' in /home/chathula/Desktop/Projects/ripple-client-desktop/src/js/entry
 @ ./src/js/entry/vendor.js 8:16-37

npm install fails

I've tried running npm with different versions of node and npm and it fails. It looks like this project is completely out of date. Is anyone maintaing this?

Here are some of the error messages I've recieved with different versions of npm:

make: *** [Release/obj.target/contextify/src/contextify.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/ethan/.nvm/versions/node/v8.9.3/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Darwin 16.7.0
gyp ERR! command "/Users/ethan/.nvm/versions/node/v8.9.3/bin/node" "/Users/ethan/.nvm/versions/node/v8.9.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/ethan/Documents/crypto/ripple-client-desktop/node_modules/contextify
gyp ERR! node -v v8.9.3
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok 
npm WARN [email protected] requires a peer of mocha@* but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of sinon@>=1.4.0 <2 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/bufferutil):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complet
npm ERR! Darwin 16.7.0
npm ERR! argv "/Users/ethan/.nvm/versions/node/v0.12.18/bin/node" "/Users/ethan/.nvm/versions/node/v0.12.18/bin/npm" "install"
npm ERR! node v0.12.18
npm ERR! npm  v2.15.11
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs contextify
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! 
npm ERR!     npm owner ls contextify
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/ethan/Documents/crypto/ripple-client-desktop/npm-debug.log

Build - warnings

I got these warnings when building in linux 15.10

"WARNING in .//es6-promise/dist/es6-promise.js
Module not found: Error: Cannot resolve module 'vertx' in /home/rop/ripple-client-desktop/node_modules/es6-promise/dist
@ ./
/es6-promise/dist/es6-promise.js 137:20-30

WARNING in .//bindings/bindings.js
Critical dependencies:
76:22-40 the request of a dependency is an expression
76:43-53 the request of a dependency is an expression
@ ./
/bindings/bindings.js 76:22-40 76:43-53

WARNING in .//bindings/README.md
Module parse failed: /home/rop/ripple-client-desktop/node_modules/bindings/README.md Line 2: Unexpected token ===
You may need an appropriate loader to handle this file type.
| node-bindings
| =============
| ### Helper module for loading your native module's .node file
|
@ ./
/bindings ^./.*$
"

Error sending purchase order

I can not send purchase order gives this error:

Your request is invalid, reason: temREDUNDANT - Sends same currency to self.

Thank you!

error in nw_shell.cc on startup, spinner spins forever

Hi!
I ran gulp packages and the executable was created, but on startup i see this error:

% ./RippleAdminConsole-1.4.0 
[5923:0510/151605:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[5923:0510/151605:ERROR:nw_shell.cc(336)] SyntaxError: Unexpected token =>
[5923:0510/151605:INFO:CONSOLE(55547)] "Uncaught SyntaxError: Unexpected token =>", source: file:///tmp/.org.chromium.Chromium.GVU73C/js/vendor.js (55547)
[5923:0510/151605:ERROR:nw_shell.cc(336)] TypeError: Cannot read property 'fn' of undefined
    at file:///tmp/.org.chromium.Chromium.GVU73C/js/deps-07a4d1f88e.js:1:5686
    at file:///tmp/.org.chromium.Chromium.GVU73C/js/deps-07a4d1f88e.js:1:8216
[5923:0510/151605:INFO:CONSOLE(1)] "Uncaught TypeError: Cannot read property 'fn' of undefined", source: file:///tmp/.org.chromium.Chromium.GVU73C/js/deps-07a4d1f88e.js (1)
[5923:0510/151605:ERROR:nw_shell.cc(336)] ReferenceError: $ is not defined
    at file:///tmp/.org.chromium.Chromium.GVU73C/index.html:5:7
[5923:0510/151605:INFO:CONSOLE(5)] "Uncaught ReferenceError: $ is not defined", source: file:///tmp/.org.chromium.Chromium.GVU73C/index.html (5)
[5923:0510/151606:ERROR:nw_shell.cc(336)] ReferenceError: $ is not defined
    at file:///tmp/.org.chromium.Chromium.GVU73C/index.html:10:45
[5923:0510/151606:INFO:CONSOLE(10)] "Uncaught ReferenceError: $ is not defined", source: file:///tmp/.org.chromium.Chromium.GVU73C/index.html (10)

A browser is spawned, i see a spinner, but thats it, nothing happens.

Update: doh, just noticed that i'm running npm 4, will try with 0.12

client not connecting

I compiled the client. The windows version starts but has a blank screen saying "Connecting to Ripple network", then nothing happens. According to Wireshark it isn't attempting any network connections.

SOCKS proxy confused for HTTPS proxy

I have HTTP, HTTPS and SOCKS proxies configured on my Ubuntu 14.04 (using dconf-editor). The HTTP and HTTPS proxies are the same machine/port, the SOCKS proxy is different one.

All this setup works well with browsers and various applications using the different proxies as they should.

Now RippleClient (fresh download dated Jan 13) is offline all the time and in Wireshark I can see it is sending HTTP CONNECT requests to the SOCKS proxy. Is that supposed to happen? I think there is a SOCKS <-> HTTPS proxy confusion.

Config.js ripple testnet

Hello, I'm trying to use the testnet with the client, but it doesn't connect. What host should I use to connect to the network?

connection: {
trace: false,
trusted: true,
local_signing: true,
servers: [
{ host: : , secure: true }
]
},

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.