专栏首页Python与爬虫每天送0.2美金的小羊毛

每天送0.2美金的小羊毛

条件

github 账号需要注册在 2019-06-21 之前

其他看下面的介绍吧,都可以满足

原文在:https://github.com/kusamanetwork/faucet/blob/master/README.md

我的成功截图

Instructions

Anyone can get KSM at the publicfaucetafter genesis. Unlike test network tokens, we expect KSM to be a scarce resource and thefaucetis designed to limit the amount of tokens distributed to each individual.

In order to prevent Sybil attacks, thefaucetwill only drip to users that have a GitHub account that was created prior to June, 21, 2019. If you do not have a GitHub account that was created prior to this date, please use the KSM Request Form[1] to request tokens.

Requirements:

  • Github account with a creation date before 21 June 2019
  • The address that the user requests a drip to must have never received a drip in the past
  • The GitHub user requesting the drip must not have received a drip from the faucet during the past 24 hours
  • The address must contain the string ksma (case-insensitive)

Step 1: Generate an Address

Thefaucetwill only drip to addresses that contain the string ksma(case-insensitive, that is, KSMA or kSmA would work). It will also never drip to the same address twice. Thus, a new address has to be created each time a user requests KSM tokens.

Obtaining a valid address will require generating numerous addresses until you find one which meets the requirements. You can think of this as a small proof-of-work. You can use the command-line tool Subkey[2], the web interface (PolkadotJSDashboard[3]), or any other program capable of generating arbitrary addresses. You can even code up your own if you like.

Using PolkadotJSDashboard

  1. Go to Settings[4] and select Kusama (canary) on the address networkprefixdrop-down list, then click Save & Reload.
  1. Under the Accounts page[5], select Vanity Address tab
  1. Input ksma in the "search for" textbox and leave the "keypair crypto type" by default unless you want to use another type. After this, click Start generation. It will most likely take at least 10 mins to generate the address pattern you want.

Using Subkey

Installation

You can install subkey with this one-line command:

cargo install --force --git https://github.com/paritytech/substrate subkey

Alternatively, you can build subkey from the source code.

  1. Follow the build instructions for Substrate[6].
  2. When building, build subkey by typing cargo build -p subkey.
  3. The executable is ./target/debug/subkey.

Usage

The command subkey --network kusama vanity "ksma" will generate a new key-pair where the address contains the string ksma.

Depending on the hardware configuration of your computer and on luck, thiscomputationmay take anywhere from a few seconds to approximately 10 minutes.

$ subkey --network kusama vanity "ksma"
  Generating key containing pattern 'ksma'
  100000 keys searched; best is 190/237 complete
  200000 keys searched; best is 201/237 complete
  300000 keys searched; best is 207/237 complete
  ...
  1000000 keys searched; best is 225/237 complete
  2000000 keys searched; best is 225/237 complete
  best: 237 == top: 237
  Secret Key URI `0x6262bcafcf6e6abbea102a2dbafecb81c28e9737e2cbce3d3ead7bde47806ac4` is account:
  Public key (hex): 0xe6a979d75da9241c491f12b7e7c2cf015ba9202a4be4649a15b72a3a60e0e730
  Address (SS58): Hnksmako1TfL4rsVMnT798syHFdF8rtFQT3tNF4jqLdswZD

The Address (SS58) field is the Kusama address that you will need to request KSM to. Notice that the string ksma starts at the third character. Never share your Secret Key, as this controls your funds.

See the `subkey` documentation[7] or enter subkey --help for more usage examples.

Step 2: Submit an Issue

Once you have generated your Kusama address containing the string ksma, you are ready to request KSM from thefaucet.

  1. Log in to Github. Go to the faucetrepo[8] of the Kusama Network organization.
  2. Click on the Issues tab, then click "New Issue".
  3. Enter any text for the "Title" textbox - it will be ignored.
  4. In the "Leave a comment" textbox, enter the address you generated in Step 1 (which must include the string "ksma"). Do not enter any text other than this address.
  5. Wait while the faucet verifies the address. Depending on network conditions and server load, this may take a few minutes, but should generally be complete within 30 seconds.
  6. You will see a comment posted to your issue indicating success or failure. Success means that 0.1 KSM has been sent to the posted address; failure means that there was some problem and no KSM was sent to your address. In the event of failure, the message should indicate what the problem is (e.g., the faucet is dry, the address is invalid).
  7. The issue will close automatically after you receive a response, whether or not it was a success.

Notes:

  • A single GitHub account can get 0.1 KSM every 24 hours.
  • Remember to post only the address - no other text, and definitely not your seed or mnemonic phrase!
  • The total number of KSM available to all users of the faucet is 10 KSM per day.

Donations:

If you want to support thefaucet, please send KSM to this address: EaG2CRhJWPb7qmdcJvy3LiWdh26Jreu9Dx6R1rXxPmYXoDk

Thefaucet's wallet will be periodically refilled from the address above.

Support:

If you are having difficulties using thefaucet, please join the Kusama Watercooler chat[9] and somebody will try to help you.

最后把我拿到的那个送出去(看谁手快了)

参考资料

[1]

KSM Request Form: https://docs.google.com/forms/d/e/1FAIpQLSfGAqjXY3xLokwl7A-R4JZAnrBnSI3BVXKMKDLCKVtHaxgs-w/formResponse

[2]

Subkey: #Using-Subkey

[3]

PolkadotJSDashboard: #Using-PolkadotJS-Dashboard

[4]

Settings: https://polkadot.js.org/apps/#/settings

[5]

Accounts page: https://polkadot.js.org/apps/#/accounts

[6]

Substrate: https://github.com/paritytech/substrate#6-building

[7]

subkey documentation: https://substrate.dev/docs/en/ecosystem/subkey

[8]

faucetrepo: https://github.com/kusamanetwork/faucet/issues

[9]

Kusama Watercooler chat: https://riot.w3f.tech/#/room/#kusamawatercooler:polkadot.builders

本文分享自微信公众号 - Python爬虫分享(python_crawler)

原文出处及转载信息见文内详细说明,如有侵权,请联系 yunjia_community@tencent.com 删除。

原始发表时间:2019-12-07

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

我来说两句

0 条评论
登录 后参与评论

相关文章

  • 佛系编程[如何创建一个安全可靠的应用程序]

    推荐最近在GitHub上很火的一个项目,按照介绍,你也可以创建一个安全可靠的应用程序 项目地址在>>> nocode https://github.com/k...

    爬虫
  • 每周分享第1期

    这里记录过去一周,我看到的值得分享的东西,以及我的一些奇思妙想,每周五发布。灵感来自阮一峰

    爬虫
  • 抓取手机app的数据(摩拜单车)

    前几天有人私信我,问能不能帮忙抓取摩拜单车的数据。。。 我想着授人以鱼不如授人以渔,所以本次我们就讲讲如何抓取手机app的内容吧 ? ?  Fiddle的安装...

    爬虫
  • Leetcode 292. Nim Game

    You are playing the following Nim Game with your friend: There is a heap of sto...

    triplebee
  • Leetcode 292. Nim Game

    You are playing the following Nim Game with your friend: There is a heap of sto...

    triplebee
  • RHEL 6.6 虚拟化新特性

    3 FS-Cache FS-Cache在rhel中主要支持NFS,有一个持久缓存的数据在客户端机器上;

    力哥聊运维与云计算
  • Codeforces 834E The Bakery【枚举+数位dp】

    E. Ever-Hungry Krakozyabra time limit per test:1 second memory limit per test:25...

    Angel_Kitty
  • 最好的VIM/VI入门教程

    如果你已经安装了vim/vi的话,这个教程其实已经在你的电脑里了,你只需要在终端输入vimtutor即可(对于windows用户,你需要设置vim的路径到环境变...

    the5fire
  • 情绪可控聊天机器人的研究(CS)

    传统的seq2seq聊天机器人模型只在输入序列的条件下寻找概率最高的句子,而不考虑输出句子的情绪。本文以seq2seq模型为基础,研究了基于人物的模型、强化学习...

    N乳酸菌
  • 【转】面试官必读:Before you are going to interview candidates…

    Here is some tips before you are going to interview new candidates:

    崔文远TroyCui

扫码关注云+社区

领取腾讯云代金券