Catalog npm
Back to packageRELEASE DETAILS

1.0.1

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": "546e8106ab9e6d2de0c3dfbcbc513f58b7280c81",
  "tarball": "https://registry.npmjs.org/42-cli/-/42-cli-1.0.1.tgz",
  "integrity": "sha512-0V2S5c1TS2F8KHpmmKmmK4LS3whFGNnOZoeDDs1g8zBTagOOrSfkRy9eNJyjGI64Vnn1cmEpNcCfqsn2mhZOuA==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIECDv23FkdzffThsdHYEwuMuim7raq+Yu/TUl5U51ogUAiEA5Nhe8Avje6SJ3l2XaxNTc7uy+/QsDAMmYLZowq9GTXs="
    }
  ]
}

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:cef85ee1b7de3afb9353a10f7daa3f295bbd502fcdc194b17c3c8cc467cc71b1

Other collected versions

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