arkecosystemarchive / javascript-cli Goto Github PK
View Code? Open in Web Editor NEWA CLI in JavaScript for the ARK Blockchain.
License: MIT License
A CLI in JavaScript for the ARK Blockchain.
License: MIT License
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.
Last week there was 1 issue. It is still open.
Last week, no pull-requests were opened, closed or merged.
Last week there were no releases.
Last week there were no contributors.
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.
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).
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:
Thank you so much : )
Keep up the good work ๐
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).
The client can't connect to the Devnet. All 5 hardcoded servers are currently down and therefor no peers can be discovered. Maybe it's an idea to use the networks module from Arkjs? (which is larger, more up to date and probably better maintained).
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.
Last week there was 1 issue. It is closed now.
@ArkEcosystemBot
Last week, no pull-requests were opened, closed or merged.
Last week there were no releases.
Last week there were no contributors.
Last week there was 1 stargazer.
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.
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)
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.
Last week there were 3 issues. Of these, 3 issues have been closed and 0 issues are still open.
@ArkEcosystemBot
Last week, 3 pull-requests were opened, closed or merged.
Last week, 3 pull-requests were merged.
Last week there were no releases.
Last week there were 2 contributors.
Thank you for your contributions! ๐
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.
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.
Hey ArkTeam,
Recently on Windows 10 and encountering this issue:
Any ideas? I haven't been able to resolve this.
We should probably check for (body.account && body.account.secondSignature).
Currently it crashes the client.
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
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:
Expected behavior
The contributor guidelines in the PR template should not reference a URL that returns a 404.
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.
Last week there was 1 issue. It is closed now.
Last week, no pull-requests were opened, closed or merged.
Last week there were no releases.
Last week there were no contributors.
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.
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.
Last week there were no issues.
Last week, 1 pull-request was opened, closed or merged.
Last week, 1 pull-request was merged.
Last week there were no releases.
Last week there was 1 contributor.
Thank you for your contribution! ๐
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.
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?
When I installed the Ark Client 1.4.3 it stopped my keyboard from working and when I run it sometimes it stops my keyboard from working. Anyone else had this issue?
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.
Last week there was 1 issue. It is still open.
@ArkEcosystemBot
Last week, 1 pull-request was opened, closed or merged.
Last week, 1 pull-request was merged.
Last week there were no releases.
Last week there was 1 contributor.
Thank you for your contribution! ๐
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.
Hey, I seem to not be able to install the client. The installer either hangs-up or fails, is anyone else experiencing this issue?
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
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.
Last week there were 2 issues. Of these, 1 issues have been closed and 1 issues are still open.
@ArkEcosystemBot
Last week, no pull-requests were opened, closed or merged.
Last week there were no releases.
Last week there were no contributors.
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.
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:
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):
Additional context
I am also using Git Bash to run this command (I am not sure if that introduces a problem or not).
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.
Last week there were no issues.
Last week, no pull-requests were opened, closed or merged.
Last week there were no releases.
Last week there were no contributors.
@
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.
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 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.
Does Ark support multisignature?
Any documentation available?
How the tx object will look like?
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)
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.
Last week there was 1 issue. It is still open.
@ArkEcosystemBot
Last week, no pull-requests were opened, closed or merged.
Last week there were no releases.
Last week there were no contributors.
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.
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.
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.
Last week there were 2 issues. Of these, 2 issues have been closed and 0 issues are still open.
@ArkEcosystemBot
Last week, no pull-requests were opened, closed or merged.
Last week there were no releases.
Last week there were no contributors.
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 to have a warning before adding 2nd passphrase or registering a delegate that is will cost ARK to do this action.
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.
Last week there were no issues.
Last week, 1 pull-request was opened, closed or merged.
Last week, 1 pull-request was merged.
Last week there were no releases.
Last week there was 1 contributor.
Thank you for your contribution! ๐
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.
function has been left unfinished
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.
Last week there were 2 issues. Of these, 2 issues have been closed and 0 issues are still open.
@ArkEcosystemBot
Last week, no pull-requests were opened, closed or merged.
Last week there were no releases.
Last week there were no contributors.
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.
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.
Last week there was 1 issue. It is closed now.
Last week, 2 pull-requests were opened, closed or merged.
Last week, 2 pull-requests were merged.
Last week there were no releases.
Last week there was 1 contributor.
Thank you for your contribution! ๐
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.
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.
Last week there was 1 issue. It is closed now.
@ArkEcosystemBot
Last week, no pull-requests were opened, closed or merged.
Last week there were no releases.
Last week there were no contributors.
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.
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.
Last week there were no issues.
Last week, no pull-requests were opened, closed or merged.
Last week there were no releases.
Last week there were no contributors.
Last week there was 1 stargazer.
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.
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.