Skip to content

Magickbase/ckb-testnet-faucet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

 
 
 

Languages

  • Ruby 60.3%
  • TypeScript 23.2%
  • SCSS 5.3%
  • HTML 4.9%
  • JavaScript 4.2%
  • Dockerfile 1.4%
  • Other 0.7%