Skip to content

Commit 1ceaf54

Browse files
committed
add more comment for deployment.toml
Signed-off-by: Eval EXEC <[email protected]>
1 parent 1221235 commit 1ceaf54

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/deployment.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,27 @@ cells = [
1919
]
2020

2121
# The lock script set to output cells
22+
# Note, some well known locks:
23+
# - SigHash:
24+
# code_hash: 0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8, hash_type: type
25+
# url: https://explorer.nervos.org/script/0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8/type
26+
#
27+
# - Multisig Legacy:
28+
# code_hash: 0x5c5069eb0857efc65e1bca0c07df34c31663b3622fd3876c876320fc9634e2a8, hash_type: type
29+
# url: https://explorer.nervos.org/script/0x5c5069eb0857efc65e1bca0c07df34c31663b3622fd3876c876320fc9634e2a8/type
30+
#
31+
# - Multisig V2:
32+
# code_hash: 0x36c971b8d41fbd94aabca77dc75e826729ac98447b46f91e00796155dddb0d29, hash_type: data1
33+
# url: https://explorer.nervos.org/script/0x36c971b8d41fbd94aabca77dc75e826729ac98447b46f91e00796155dddb0d29/data1
2234
[lock]
2335
code_hash = "0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8"
2436
args = "0x0000000000000000000000000000000000000000"
2537
hash_type = "type"
2638

2739
# For unlocking inputs with multisig lock script
2840
[multisig_config]
41+
# if lock_code_hash is not specified, it fallback to Multisig Legacy
42+
lock_code_hash = "0x5c5069eb0857efc65e1bca0c07df34c31663b3622fd3876c876320fc9634e2a8"
2943
sighash_addresses = [
3044
"ckt1qyq111111111111111111111111111111111111111",
3145
"ckt1qyq222222222222222222222222222222222222222",

0 commit comments

Comments
 (0)