Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 2.13 KB

README.md

File metadata and controls

60 lines (40 loc) · 2.13 KB

About CKB

CKB is the layer 1 of Nervos Network, a public/permissionless blockchain. CKB uses Proof of Work and improved Nakamoto concensus to achieve maximized performance on average hardware and internet condition, without sacrificing decentralization and security which are the core value of blockchain.

CKB Testnet Faucet

License Telegram Group

CKB Testnet Faucet is a Testnet Pudge faucet built with React and Ruby on Rails.

It supports claim ckb testnet tokens.

Prerequisites

Initial Project

$ cd ckb-testnet-faucet/
$ copy .env.example file to .env
$ bin/setup
$ bundle exec rake migration:create_official_account

Running Test

$ bundle exec rails test

Run Project

# before run project you need to use `get_lock_hash_index_states` rpc check ckb indexer status
$ bundle exec rails s
# start send capacity service
$ ruby lib/claim_event_processor.rb

Deployment

You can deploy this via mina

$ mina setup
$ mina production deploy

How to Contribute

CKB Testnet Faucet is an open source project and your contribution is very much appreciated. Please check out CONTRIBUTING.md for guidelines about how to proceed.

License

CKB Testnet Faucet is released under the terms of the MIT license. See LICENSE for more information or see https://opensource.org/licenses/MIT.