42-cli 中文文档教程

发布于 9年前 浏览 55 项目主页 更新于 3年前

42

访问 21 市场,即使您还没有 21 电脑。 42 是一个进入网络的代理,带有一个简单的命令行工具。

要使用它,只需通过运行 sudo npm install -g 42-cli

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

将比特币发送到您的存款地址为您的帐户注资,然后使用购买命令就像您拥有 21 台计算机一样!

$ 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 endpoints

$ 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/

这是 BitCorps 的项目。 了解更多关于我们的信息。

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.

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文