forked from RetricSu/nostr-binding
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
15 changed files
with
150 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
info.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[[cells]] | ||
name = "nostr-binding" | ||
enable_type_id = true | ||
location = { file = "../../build/release/nostr-binding" } | ||
|
||
# The lock script set to output cells | ||
[lock] | ||
code_hash = "0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8" | ||
args = "0x9c26427b733e19f774e74312382946db9548093a" | ||
hash_type = "type" |
13 changes: 13 additions & 0 deletions
13
deployment/nostr-binding-type-script/migrations/2024-07-03-012340.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"cell_recipes": [ | ||
{ | ||
"name": "nostr-binding", | ||
"tx_hash": "0x10b5f9f005a7d8004e4b47bb5e05da8aa6de57922105e238cb2b0b2ec20a0a72", | ||
"index": 0, | ||
"occupied_capacity": 20015800000000, | ||
"data_hash": "0x6694d6a1d78172b31a474fe1a1c085b7e48a28f63f9f4135ce4abc458962ddfe", | ||
"type_id": "0x4105801324b70b3a1508ded8958aba66a6faf68cab26f863b4902b50dfb8b9ab" | ||
} | ||
], | ||
"dep_group_recipes": [] | ||
} |
13 changes: 13 additions & 0 deletions
13
deployment/nostr-binding-type-script/migrations/2024-07-03-014444.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"cell_recipes": [ | ||
{ | ||
"name": "nostr-binding", | ||
"tx_hash": "0x0e3949fa8afbbdf6d4abdda0d12ac1206c8d05dd51ec490b7341586291db85a6", | ||
"index": 0, | ||
"occupied_capacity": 20081400000000, | ||
"data_hash": "0xee39c944c5bea6857d1b55fc1d4ff9fc1e22e59fd89d1a0fed8e6eabc08dda66", | ||
"type_id": "0x4105801324b70b3a1508ded8958aba66a6faf68cab26f863b4902b50dfb8b9ab" | ||
} | ||
], | ||
"dep_group_recipes": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
set -ex | ||
cd ../.. && shasum -a 256 -c checksums.txt && cd - | ||
|
||
ckb-cli deploy gen-txs \ | ||
--deployment-config ./deployment.toml \ | ||
--migration-dir ./migrations \ | ||
--fee-rate 1600 \ | ||
--from-address ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqvuyep8kue7r8mhfe6rzguzj3kmj4yqjwsg8lepn \ | ||
--info-file info.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
ckb-cli deploy sign-txs \ | ||
--from-account ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqvuyep8kue7r8mhfe6rzguzj3kmj4yqjwsg8lepn \ | ||
--add-signatures \ | ||
--info-file info.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
ckb-cli deploy apply-txs --migration-dir ./migrations --info-file info.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[[cells]] | ||
name = "nostr-lock" | ||
enable_type_id = true | ||
location = { file = "../../build/release/nostr-lock" } | ||
|
||
# The lock script set to output cells | ||
[lock] | ||
code_hash = "0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8" | ||
args = "0x9c26427b733e19f774e74312382946db9548093a" | ||
hash_type = "type" |
13 changes: 13 additions & 0 deletions
13
deployment/nostr-lock-script/migrations/2024-07-03-011120.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"cell_recipes": [ | ||
{ | ||
"name": "nostr-lock", | ||
"tx_hash": "0xe3812ee29f633abc386754ced79fa31c3c91af8731af3201c74c7dc168bb192d", | ||
"index": 0, | ||
"occupied_capacity": 20333400000000, | ||
"data_hash": "0xa141c33d3380a496754a832da592fa958d539038d3cc1f133c3903e7fb1f06ff", | ||
"type_id": "0x6ae5ee0cb887b2df5a9a18137315b9bdc55be8d52637b2de0624092d5f0c91d5" | ||
} | ||
], | ||
"dep_group_recipes": [] | ||
} |
13 changes: 13 additions & 0 deletions
13
deployment/nostr-lock-script/migrations/2024-07-03-014310.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"cell_recipes": [ | ||
{ | ||
"name": "nostr-lock", | ||
"tx_hash": "0xa2a434dcdbe280b9ed75bb7d6c7d68186a842456aba0fc506657dc5ed7c01d68", | ||
"index": 0, | ||
"occupied_capacity": 20263000000000, | ||
"data_hash": "0x2effea19ff3024b5b0fb4c0c59c379e7610110e7e3fe7ae003247b1115e59795", | ||
"type_id": "0x6ae5ee0cb887b2df5a9a18137315b9bdc55be8d52637b2de0624092d5f0c91d5" | ||
} | ||
], | ||
"dep_group_recipes": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
set -ex | ||
cd ../.. && shasum -a 256 -c checksums.txt && cd - | ||
|
||
ckb-cli deploy gen-txs \ | ||
--deployment-config ./deployment.toml \ | ||
--migration-dir ./migrations \ | ||
--fee-rate 3000 \ | ||
--from-address ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqvuyep8kue7r8mhfe6rzguzj3kmj4yqjwsg8lepn \ | ||
--info-file info.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
ckb-cli deploy sign-txs \ | ||
--from-account ckt1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqvuyep8kue7r8mhfe6rzguzj3kmj4yqjwsg8lepn \ | ||
--add-signatures \ | ||
--info-file info.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
ckb-cli deploy apply-txs --migration-dir ./migrations --info-file info.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters