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 is a Testnet Pudge faucet built with React and Ruby on Rails.
It supports claim ckb testnet tokens.
- PostgreSQL 9.4 and above
- Ruby 2.6.4 and above
- Redis 4.0.9 and above
- ckb-sdk-ruby 0.28.0 and above
$ cd ckb-testnet-faucet/
$ copy .env.example file to .env
$ bin/setup
$ bundle exec rake migration:create_official_account
$ bundle exec rails test
# 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
You can deploy this via mina
$ mina setup
$ mina production deploy
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.
CKB Testnet Faucet is released under the terms of the MIT license. See LICENSE for more information or see https://opensource.org/licenses/MIT.