Git Product home page Git Product logo

javascript-cli's People

Contributors

alexbarnsley avatar boldninja avatar boveus avatar ciband avatar cryptologysac avatar dependabot[bot] avatar faustbrian avatar fix avatar guppster avatar idandagan1 avatar j-a-m-l avatar kalgoop avatar pedro-souza avatar renovate[bot] avatar roks0n avatar stevenhuijgens avatar vulet 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

Watchers

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

javascript-cli's Issues

[Weekly Digest] Feb 4, 2019 - Feb 10, 2019

Here's the Weekly Digest from Mon, Feb 4, 2019 12:00 AM to Sun, Feb 10, 2019 11:59 PM for ArkEcosystem/javascript-cli.

Issues

Last week there was 1 issue. It is still open.

Opened

@fix

Pull Requests

Last week, no pull-requests were opened, closed or merged.

Releases

Last week there were no releases.

Contributors

Last week there were no contributors.

Star Gazers

Last week there were no stargazers.


That's all activities since Mon, Feb 4, 2019 12:00 AM, please Watch and Star the repository ArkEcosystem/javascript-cli to receive upcoming weekly updates.

You can also view all Weekly Digests by clicking here.

App crashes on a server/VM because the USB port can't initialize.

Ark-client tries to initialize a USB port to check if a Ledger is connected, when no USB port can be initialized the app crashes. On most Virtual Machines (and many servers) there is no USB port available and (in my opinion) that is precisely where a CLI is used most.

I will make a PR that solves this by checking for errors on the USB binding and if any occur notifies the user that Ledger support is not available (and disables Ledger support internally).

Problem on changing theme

HI!
Ark Client is amazing. Thanks : )

I recently changed my wallet's appearance, unfortunately I don't remember what options I exactly selected. If I'm not mistaken, I choose midnight, I'm not sure. BTW what happened is that I am unable to interact with the app since then. As soon as I open it I begin to see a completely blank screen.

I took screenshots of what may help you find what the problem is:

screenshot from 2017-11-14 22-34-08
screenshot from 2017-11-14 22-35-19

Thank you so much : )
Keep up the good work ๐Ÿ‘

Unable to install Ark-Client on any Node Version (5.x - 8.7.0)

I have tried to pull previous versions of the ark-client and also use the n utility to switch between node versions.
I have identified at what version this problem occurs (see below).
Also, this happens because before node version 7.6.0 there is no async attribute.
But switching node versions will trigger a HID module core dump.
Also, this happens in the Vagrant file as well - that has Node version 6.9.1 and you cannot install ark-client on that machine.
Last version of Node (8.7.0) with the last version of ark-client has other incompatibilities (which aren't pictured below).

ark-errors

[Weekly Digest] May 20, 2019 - May 26, 2019

Here's the Weekly Digest from Mon, May 20, 2019 12:00 AM to Sun, May 26, 2019 11:59 PM for ArkEcosystem/javascript-cli.

Issues

Last week there was 1 issue. It is closed now.

Closed

@ArkEcosystemBot

Pull Requests

Last week, no pull-requests were opened, closed or merged.

Releases

Last week there were no releases.

Contributors

Last week there were no contributors.

Star Gazers

Last week there was 1 stargazer.

@verejava

You are the star! ๐ŸŒŸ


That's all activities since Mon, May 20, 2019 12:00 AM, please Watch and Star the repository ArkEcosystem/javascript-cli to receive upcoming weekly updates.

You can also view all Weekly Digests by clicking here.

Some ledger stuff does not work anymore

PS F:> ark-client
C:\Users\Jarunik\AppData\Roaming\npm\node_modules\ark-client\index.js:222
async function populateLedgerAccounts() {
^^^^^^^^
SyntaxError: Unexpected token function
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:393:7)
at startup (bootstrap_node.js:150:9)

[Weekly Digest] May 6, 2019 - May 12, 2019

Here's the Weekly Digest from Mon, May 6, 2019 12:00 AM to Sun, May 12, 2019 11:59 PM for ArkEcosystem/javascript-cli.

Issues

Last week there were 3 issues. Of these, 3 issues have been closed and 0 issues are still open.

Closed

@ArkEcosystemBot

@boveus

Pull Requests

Last week, 3 pull-requests were opened, closed or merged.

Merged

Last week, 3 pull-requests were merged.

@boveus

@vulet

Releases

Last week there were no releases.

Contributors

Last week there were 2 contributors.

@boveus @vulet

Thank you for your contributions! ๐ŸŽ‰

Star Gazers

Last week there were no stargazers.


That's all activities since Mon, May 6, 2019 12:00 AM, please Watch and Star the repository ArkEcosystem/javascript-cli to receive upcoming weekly updates.

You can also view all Weekly Digests by clicking here.

App crashes when sending transaction to an invalid address

When you try to send to an address that doesn't exist (ark> account send 1 nonexistingaddress) the program will crash because the error thrown in arkjs isn't handled. For the same reason this also will happen when other arkjs transactions are executed (vote, delegate).

I'll solve this by adding the correct error handling to the code.

Unable to connect to the testnet

I attempted to run connect testnet but received a connection refused.

ark> connect testnet
Can't get peers from network: Error: connect ECONNREFUSED 5.39.9.249:4000
undefined:1
undefined
^

SyntaxError: Unexpected token u in JSON at position 0
    at Object.parse (native)
    at Request._callback (/usr/lib/node_modules/ark-client/index.js:329:56)
    at self.callback (/usr/lib/node_modules/ark-client/node_modules/request/request.js:188:22)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at Request.onRequestError (/usr/lib/node_modules/ark-client/node_modules/request/request.js:884:8)
    at emitOne (events.js:101:20)
    at ClientRequest.emit (events.js:188:7)
    at Socket.socketErrorListener (_http_client.js:309:9)
    at emitOne (events.js:96:13)

connect mainnet works correctly

The contributor guidelines are incorrect

Describe the bug
It also looks like the link populated in new pull requests needs to be changed from Please see https://docs.ark.io/docs/contributing for details before opening your pull request. to Please see https://docs.ark.io/guidebook/contribution-guidelines/ for details before opening your pull request.

To Reproduce
Steps to reproduce the behavior:

  1. Open a new PR

Expected behavior
The contributor guidelines in the PR template should not reference a URL that returns a 404.

[Weekly Digest] Jul 29, 2019 - Aug 4, 2019

Here's the Weekly Digest from Mon, Jul 29, 2019 12:00 AM to Sun, Aug 4, 2019 11:59 PM for ArkEcosystem/javascript-cli.

Issues

Last week there was 1 issue. It is closed now.

Closed

@fix

Pull Requests

Last week, no pull-requests were opened, closed or merged.

Releases

Last week there were no releases.

Contributors

Last week there were no contributors.

Star Gazers

Last week there were no stargazers.


That's all activities since Mon, Jul 29, 2019 12:00 AM, please Watch and Star the repository ArkEcosystem/javascript-cli to receive upcoming weekly updates.

You can also view all Weekly Digests by clicking here.

[Weekly Digest] Sep 23, 2019 - Sep 29, 2019

Here's the Weekly Digest from Mon, Sep 23, 2019 12:00 AM to Sun, Sep 29, 2019 11:59 PM for ArkEcosystem/javascript-cli.

Issues

Last week there were no issues.

Pull Requests

Last week, 1 pull-request was opened, closed or merged.

Merged

Last week, 1 pull-request was merged.

@faustbrian

Releases

Last week there were no releases.

Contributors

Last week there was 1 contributor.

@faustbrian

Thank you for your contribution! ๐ŸŽ‰

Star Gazers

Last week there were no stargazers.


That's all activities since Mon, Sep 23, 2019 12:00 AM, please Watch and Star the repository ArkEcosystem/javascript-cli to receive upcoming weekly updates.

You can also view all Weekly Digests by clicking here.

Trouble with installing & running ark-client

I tried with a few Node versions: 8.9.4, 8.7.x, 7.6.x (Ubuntu 16.04) but always I get bunch of errors, or in this case when I finally got message that package is installed and binary linked:

titan@ark:~$ ark-client
/home/titan/.nvm/versions/node/v8.9.4/lib/node_modules/ledgerco/src/utils.js:19
type Defer<T> = {
     ^^^^^

SyntaxError: Unexpected identifier
    at createScript (vm.js:80:10)
    at Object.runInThisContext (vm.js:139:10)
    at Module._compile (module.js:607:28)
    at Object.Module._extensions..js (module.js:654:10)
    at Module.load (module.js:556:32)
    at tryModuleLoad (module.js:499:12)
    at Function.Module._load (module.js:491:3)
    at Module.require (module.js:587:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/titan/.nvm/versions/node/v8.9.4/lib/node_modules/ark-client/src/LedgerArk.js:4:13)

any advice?

[Weekly Digest] Feb 11, 2019 - Feb 17, 2019

Here's the Weekly Digest from Mon, Feb 11, 2019 12:00 AM to Sun, Feb 17, 2019 11:59 PM for ArkEcosystem/javascript-cli.

Issues

Last week there was 1 issue. It is still open.

Opened

@ArkEcosystemBot

Pull Requests

Last week, 1 pull-request was opened, closed or merged.

Merged

Last week, 1 pull-request was merged.

@faustbrian

Releases

Last week there were no releases.

Contributors

Last week there was 1 contributor.

@faustbrian

Thank you for your contribution! ๐ŸŽ‰

Star Gazers

Last week there were no stargazers.


That's all activities since Mon, Feb 11, 2019 12:00 AM, please Watch and Star the repository ArkEcosystem/javascript-cli to receive upcoming weekly updates.

You can also view all Weekly Digests by clicking here.

Installation is failing

Hey, I seem to not be able to install the client. The installer either hangs-up or fails, is anyone else experiencing this issue?

documentation to get started

Since the migration to new plugable system, it is not clear on how to get started. yarn install ... does not work

There should be instruction to be able to get started.

also the name of bin is not great (ark:cli). Should be more arkclient as before

[Weekly Digest] May 13, 2019 - May 19, 2019

Here's the Weekly Digest from Mon, May 13, 2019 12:00 AM to Sun, May 19, 2019 11:59 PM for ArkEcosystem/javascript-cli.

Issues

Last week there were 2 issues. Of these, 1 issues have been closed and 1 issues are still open.

Opened

@roccomuso

Closed

@ArkEcosystemBot

Pull Requests

Last week, no pull-requests were opened, closed or merged.

Releases

Last week there were no releases.

Contributors

Last week there were no contributors.

Star Gazers

Last week there were no stargazers.


That's all activities since Mon, May 13, 2019 12:00 AM, please Watch and Star the repository ArkEcosystem/javascript-cli to receive upcoming weekly updates.

You can also view all Weekly Digests by clicking here.

Python (3.7) is throwing an error when attempting to install this package via Yarn in Windows

Describe the bug
When I run yarn add arkecosystem/javascript-cli it fails. I have installed the most current release versions of Yarn, Node, and Python

To Reproduce
Steps to reproduce the behavior:

  1. Install the current versions of Yarn, Node, and Python (3.7)
  2. Run yarn add arkecosystem/javascript-cli.

Expected behavior
The package should install without error or there should be a dependency of the older version of Python that this package requires to run.

Screenshots
This is the error:

gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Users\Brandon\AppData\Local\Programs\Python\Python37-32\python.EXE -c impor
t sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack   File "<string>", line 1
gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack                                ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:294:12)
gyp ERR! stack     at ChildProcess.emit (events.js:189:13)
gyp ERR! stack     at maybeClose (internal/child_process.js:970:16)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\
node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Brandon\node_modules\node-hid
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok

Server (please complete the following information):

  • OS: Windows 10 64-bit

Additional context
I am also using Git Bash to run this command (I am not sure if that introduces a problem or not).

[Weekly Digest] Jan 28, 2019 - Feb 3, 2019

Here's the Weekly Digest from Mon, Jan 28, 2019 12:00 AM to Sun, Feb 3, 2019 11:59 PM for ArkEcosystem/javascript-cli.

Issues

Last week there were no issues.

Pull Requests

Last week, no pull-requests were opened, closed or merged.

Releases

Last week there were no releases.

Contributors

Last week there were no contributors.

@

Star Gazers

Last week there were no stargazers.


That's all activities since Mon, Jan 28, 2019 12:00 AM, please Watch and Star the repository ArkEcosystem/javascript-cli to receive upcoming weekly updates.

You can also view all Weekly Digests by clicking here.

Connect mainnet fails

Looks like connect mainnet fails.

Line 349 should be replaced with:
}, self);
Line 353 should be replaced with:
function connect2network(n, callback, self){
Line 362 should be replaced with:
if(!body) connect2network(n, callback, self);
Line 365 will then work properly.

Source of information: https://redd.it/79c9ps

When connected to Devnet app shows Mainnet accounts on Ledger

When I connect to the devnet and try to send DARK, the app shows my mainnet accounts from my Ledger. The balances show my ARK balances with the DA symbol.

When I try to send something from one of these accounts I receive an UnHandledPromiseRejectionWarning.

Multisig support

Does Ark support multisignature?
Any documentation available?
How the tx object will look like?

account send command results in an error

The following series of commands results in an error.
connect devnet
account create
account send <value> <account address>

ark devnet> account create
Seed    - private: lawn version gift next noodle awful catalog shove town palace prosper journey
WIF     - private: SANXJQDZioobcm2bvcRPqPo6sfzHbcoGsugfJwsp57YoGaRcXYaq
Address - public : DNiMTqcifjBYj6iF28pvf2PHAxgCuLb69K
ark devnet> account send 4 DNiMTqcifjBYj6iF28pvf2PHAxgCuLb69K
readline.js:973
            throw err;
            ^

TypeError: args.amount.startsWith is not a function
    at CommandInstance.<anonymous> (/usr/lib/node_modules/ark-client/index.js:543:22)
    at EventEmitter.session.execCommandSet (/usr/lib/node_modules/ark-client/node_modules/vorpal/dist/session.js:470:20)
    at EventEmitter.vorpal._exec (/usr/lib/node_modules/ark-client/node_modules/vorpal/dist/vorpal.js:960:18)
    at EventEmitter.vorpal._execQueueItem (/usr/lib/node_modules/ark-client/node_modules/vorpal/dist/vorpal.js:751:17)
    at EventEmitter.vorpal._queueHandler (/usr/lib/node_modules/ark-client/node_modules/vorpal/dist/vorpal.js:735:10)
    at EventEmitter.vorpal.exec (/usr/lib/node_modules/ark-client/node_modules/vorpal/dist/vorpal.js:682:10)
    at /usr/lib/node_modules/ark-client/node_modules/vorpal/dist/vorpal.js:625:10
    at .completed (/usr/lib/node_modules/ark-client/node_modules/vorpal/dist/ui.js:220:13)
    at PromptUI.onCompletion (/usr/lib/node_modules/ark-client/node_modules/inquirer/lib/ui/prompt.js:57:10)
    at AnonymousObserver.Rx.AnonymousObserver.AnonymousObserver.completed (/usr/lib/node_modules/ark-client/node_modules/rx-lite/rx.lite.js:1550:12)
    at AnonymousObserver.Rx.internals.AbstractObserver.AbstractObserver.onCompleted (/usr/lib/node_modules/ark-client/node_modules/rx-lite/rx.lite.js:1489:14)

[Weekly Digest] Feb 18, 2019 - Feb 24, 2019

Here's the Weekly Digest from Mon, Feb 18, 2019 12:00 AM to Sun, Feb 24, 2019 11:59 PM for ArkEcosystem/javascript-cli.

Issues

Last week there was 1 issue. It is still open.

Opened

@ArkEcosystemBot

Pull Requests

Last week, no pull-requests were opened, closed or merged.

Releases

Last week there were no releases.

Contributors

Last week there were no contributors.

Star Gazers

Last week there were no stargazers.


That's all activities since Mon, Feb 18, 2019 12:00 AM, please Watch and Star the repository ArkEcosystem/javascript-cli to receive upcoming weekly updates.

You can also view all Weekly Digests by clicking here.

Get Ledger working for first address

Currently a Ledger only works for addresses that have made transactions (through the desktop client, for example). We need to replicate the same functionality as the desktop client, where it shows the next address available when interacting with the ledger. If connected, there should always be at least 1 address available (the first one), used or not.

[Weekly Digest] Jun 3, 2019 - Jun 9, 2019

Here's the Weekly Digest from Mon, Jun 3, 2019 12:00 AM to Sun, Jun 9, 2019 11:59 PM for ArkEcosystem/javascript-cli.

Issues

Last week there were 2 issues. Of these, 2 issues have been closed and 0 issues are still open.

Closed

@ArkEcosystemBot

Pull Requests

Last week, no pull-requests were opened, closed or merged.

Releases

Last week there were no releases.

Contributors

Last week there were no contributors.

Star Gazers

Last week there were no stargazers.


That's all activities since Mon, Jun 3, 2019 12:00 AM, please Watch and Star the repository ArkEcosystem/javascript-cli to receive upcoming weekly updates.

You can also view all Weekly Digests by clicking here.

need warning

need to have a warning before adding 2nd passphrase or registering a delegate that is will cost ARK to do this action.

[Weekly Digest] May 27, 2019 - Jun 2, 2019

Here's the Weekly Digest from Mon, May 27, 2019 12:00 AM to Sun, Jun 2, 2019 11:59 PM for ArkEcosystem/javascript-cli.

Issues

Last week there were no issues.

Pull Requests

Last week, 1 pull-request was opened, closed or merged.

Merged

Last week, 1 pull-request was merged.

@faustbrian

Releases

Last week there were no releases.

Contributors

Last week there was 1 contributor.

@faustbrian

Thank you for your contribution! ๐ŸŽ‰

Star Gazers

Last week there were no stargazers.


That's all activities since Mon, May 27, 2019 12:00 AM, please Watch and Star the repository ArkEcosystem/javascript-cli to receive upcoming weekly updates.

You can also view all Weekly Digests by clicking here.

[Weekly Digest] Apr 22, 2019 - Apr 28, 2019

Here's the Weekly Digest from Mon, Apr 22, 2019 12:00 AM to Sun, Apr 28, 2019 11:59 PM for ArkEcosystem/javascript-cli.

Issues

Last week there were 2 issues. Of these, 2 issues have been closed and 0 issues are still open.

Closed

@ArkEcosystemBot

Pull Requests

Last week, no pull-requests were opened, closed or merged.

Releases

Last week there were no releases.

Contributors

Last week there were no contributors.

Star Gazers

Last week there were no stargazers.


That's all activities since Mon, Apr 22, 2019 12:00 AM, please Watch and Star the repository ArkEcosystem/javascript-cli to receive upcoming weekly updates.

You can also view all Weekly Digests by clicking here.

[Weekly Digest] Jul 22, 2019 - Jul 28, 2019

Here's the Weekly Digest from Mon, Jul 22, 2019 12:00 AM to Sun, Jul 28, 2019 11:59 PM for ArkEcosystem/javascript-cli.

Issues

Last week there was 1 issue. It is closed now.

Closed

@roccomuso

Pull Requests

Last week, 2 pull-requests were opened, closed or merged.

Merged

Last week, 2 pull-requests were merged.

@faustbrian

Releases

Last week there were no releases.

Contributors

Last week there was 1 contributor.

@faustbrian

Thank you for your contribution! ๐ŸŽ‰

Star Gazers

Last week there were no stargazers.


That's all activities since Mon, Jul 22, 2019 12:00 AM, please Watch and Star the repository ArkEcosystem/javascript-cli to receive upcoming weekly updates.

You can also view all Weekly Digests by clicking here.

[Weekly Digest] Apr 29, 2019 - May 5, 2019

Here's the Weekly Digest from Mon, Apr 29, 2019 12:00 AM to Sun, May 5, 2019 11:59 PM for ArkEcosystem/javascript-cli.

Issues

Last week there was 1 issue. It is closed now.

Closed

@ArkEcosystemBot

Pull Requests

Last week, no pull-requests were opened, closed or merged.

Releases

Last week there were no releases.

Contributors

Last week there were no contributors.

Star Gazers

Last week there were no stargazers.


That's all activities since Mon, Apr 29, 2019 12:00 AM, please Watch and Star the repository ArkEcosystem/javascript-cli to receive upcoming weekly updates.

You can also view all Weekly Digests by clicking here.

[Weekly Digest] Apr 15, 2019 - Apr 21, 2019

Here's the Weekly Digest from Mon, Apr 15, 2019 12:00 AM to Sun, Apr 21, 2019 11:59 PM for ArkEcosystem/javascript-cli.

Issues

Last week there were no issues.

Pull Requests

Last week, no pull-requests were opened, closed or merged.

Releases

Last week there were no releases.

Contributors

Last week there were no contributors.

Star Gazers

Last week there was 1 stargazer.

@salifm

You are the star! ๐ŸŒŸ


That's all activities since Mon, Apr 15, 2019 12:00 AM, please Watch and Star the repository ArkEcosystem/javascript-cli to receive upcoming weekly updates.

You can also view all Weekly Digests by clicking here.

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.