Skip to content

Tutorials

LinFeng Qian edited this page Dec 6, 2019 · 10 revisions

Transfer to time lock address

First generate a locked address

CKB> util to-multisig-addr --address ckt1qyqp5hera0n2ljm65ecvsakedw74jnl547sq77pnhz --locktime "2019-11-25T08:00:00+00:00"
mainnet: ckb1q3w9q60tppt7l3j7r09qcp7lxnp3vcanvgha8pmvsa3jplykxn323k5v49yzmvm0q0kfqw0hk0kyal6z32nwjvgqqqqqqzq8yq5gx8e5
testnet: ckt1q3w9q60tppt7l3j7r09qcp7lxnp3vcanvgha8pmvsa3jplykxn323k5v49yzmvm0q0kfqw0hk0kyal6z32nwjvgqqqqqqzq8yqmh87ay

# If you enable debug mode you will see extra detail information
CKB> util to-multisig-addr ...
[DEBUG] genesis_time: 2019-11-17 04:00:00, target_time: 2019-11-25 08:00:00, elapsed_in_secs: 705600, target_epoch: Epoch { number: 49, index: 0, length: 1800 }, lock_arg: da8ca9482db36f03ec9039f7b3ec4eff428aa6e93100000000080720, code_hash: 0x5c5069eb0857efc65e1bca0c07df34c31663b3622fd3876c876320fc9634e2a8

Transfer some capacity to that address

Clone this wiki locally