nervosnetwork / fiber

16 stars 8 forks source link

Funding tx management (CKB Only) #16

Closed doitian closed 4 months ago

doitian commented 4 months ago

The sepc256k1 private key must be saved as a file using the path "ckb_chain/key". The file must encode the private key as hex without the "0x" prefix.

Example config:

ckb_chain:
  # sighash_all
  funding_source_lock_script_code_hash: "0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8"
  funding_source_lock_script_hash_type: "type"

  # funding lock
  funding_cell_lock_script_code_hash: "0x8090ce20be9976e2407511502acebf74ac1cfed10d7b35b7f33f56c9bd0daec6"
  funding_cell_lock_script_hash_type: "type"

services:
  - ckb_chain