Catalog npm
Back to packageRELEASE DETAILS

1.0.2

npm

42-cli

Access 21's marketplace without a 21 machine

21bitcoin
Published3 Dec 2015
Direct dependencies3
Transitive dependenciesNot calculated

README

Current package documentation

42

Access the 21 marketplace even if you don’t own a 21 computer yet. 42 is a proxy into the network, with a simple command line tool.

To use it, just install it by running sudo npm install -g 42-cli

$ 42 status
Balance: 0 (satoshis)
Deposit Address: 1MB1V15MprQuQEWR7XGd5L6xnPfyyozDfr

Send bitcoins to your deposit address to fund your account, and then use the buy command as if you had the 21 computer!

$ 42 status
Balance: 10000 (satoshis)
Deposit Address: 1MB1V15MprQuQEWR7XGd5L6xnPfyyozDfr

Buy endpoints calls with:

$ 42 buy http://10.155.99.242:5000/retweet/672119569520173056
Result: "Successfully retweeted by https://twitter.com/Justinbitcoin"
Spent: 1000 (satoshis)
Balance: 9000 (satoshis)

Query the price of an endpoint

$ 42 buy -i http://10.155.99.242:5000/retweet/672119569520173056
Cost: 1000 (satoshis)

Here’s a list of 402-enabled endpoints you can try (only the ones using 21 buy command supported for now)

https://docs.google.com/spreadsheets/d/1zNJ3nMqz8DZ_5prldhxKmXQAuT3PYEhjqhTeUK7BY5s/

This is a project by BitCorps. Learn more about us.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 3

Native requirements
3 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
argparse
Environment
{
  "local_name": "argparse",
  "alias": false,
  "peer_metadata": null
}
^1.0.3runtime
bitcore-lib
Environment
{
  "local_name": "bitcore-lib",
  "alias": false,
  "peer_metadata": null
}
^0.13.10runtime
popsicle
Environment
{
  "local_name": "popsicle",
  "alias": false,
  "peer_metadata": null
}
^1.3.2runtime

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "049431412ee1616c125df0583f5cfb8450b6f255",
  "tarball": "https://registry.npmjs.org/42-cli/-/42-cli-1.0.2.tgz",
  "integrity": "sha512-75hJPB1FCeoHigeymNEkV1FhJeJF2aZDWrC3kqFVKTC9hwCbAwjSwb6XFME2Ljl1dsbt74mbnp4R3zMK+UA23g==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQDRdCwWFpbr1APVXSbUy+nGY6dZ7ZkE8YssCqpBFwC5tAIhAKwDgrfPEAxUfNIUUjSmHuT/ltxv75CRYH5Osdjz7yDe"
    }
  ]
}

Repository

PENDING
smartcontractsolutions/42-cli

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:59 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:aa17c1552ddfa145d765cb9fa0bfe14d698554fda927f9049260d6a18c248a0b

Other collected versions

1.0.44 Dec1.0.34 Dec1.0.13 Dec1.0.03 DecView all collected versions →