Skip to content

Commit 7450e32

Browse files
Leo Weesegitbook-bot
authored andcommitted
GITBOOK-500: change request with no subject merged in GitBook
1 parent 4629ad8 commit 7450e32

File tree

1 file changed

+43
-49
lines changed

1 file changed

+43
-49
lines changed

lightning-network-tools/taproot-assets/first-steps.md

Lines changed: 43 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: >-
1010

1111
When running `tapd` as part of `litd` ([integrated mode](../lightning-terminal/integrating-litd.md)), you will need to specify that you are connecting to the `litd` process when executing `tapcli` commands from the command line interface. This has to include the `tls.cert` and port `8443`. Unless you are running on mainnet, the network has to be specified as well.
1212

13-
`tapcli --tlscertpath ~/.lit/tls.cert --rpcserver=localhost:8443 --network=testnet assets list`
13+
`tapcli --tlscertpath ~/.lit/tls.cert --rpcserver=localhost:8443 --network=signet assets list`
1414

1515
Future sample commands will omit these details for simplicity.
1616

@@ -50,52 +50,50 @@ This will add your asset to a minting queue called a batch, which allows multipl
5050

5151
You will be given a `batch_txid`, which will have to be included in a block before you can spend your newly created assets. You can also inspect the newly created asset(s) by calling the command
5252

53-
`tapcli assets list --show_unconfirmed_mints`
53+
`tapcli assets list --show_unconfirmed_mints` 
5454

5555
```json
56-
{
57-
"version": "ASSET_VERSION_V0",
58-
"asset_genesis": {
59-
"genesis_point": "357e113296993b79b98f7dbf1f86166377cc07e4099d64b6c59dbea66c1db9d0:1",
60-
"name": "beefbux",
61-
"meta_hash": "1b206639244dae9875be0db3babd9c326e9ffe319f9a913c56b765c8e80b6299",
62-
"asset_id": "b9ae86f52dcbdee7ea78e86b26320819c44c2f4f8a91b9c055ca0af4c4d1b22b",
63-
"asset_type": "NORMAL",
64-
"output_index": 0
65-
},
66-
"amount": "1000000",
67-
"lock_time": 0,
68-
"relative_lock_time": 0,
69-
"script_version": 0,
70-
"script_key": "02699e225abed4f8fd746d4888984278a7a57f63a0c542df04eac22ed9f1db5e25",
71-
"script_key_is_local": true,
72-
"asset_group": {
73-
"raw_group_key": "034ec8be86f4ee8e1afcd6b18efb828319ab9a1ec69254bfdae8e07689461c8257",
74-
"tweaked_group_key": "025234364112f83ea7ee8e35f061d625df82ee07e443835107947e3bb53e8e9bfc",
75-
"asset_witness": "014027a12fcaefb594be606056e48f9fd5bdf9c0100fdc82d6753172c641a880059e2c1fdfdb85217999408bf5dff8498f7a5ecc0fda8cbda98fc589b1349b5d5c06",
76-
"tapscript_root": ""
77-
},
78-
"chain_anchor": {
79-
"anchor_tx": "02000000000101d0b91d6ca6be9dc5b6649d09e407cc776316861fbf7d8fb9793b999632117e3501000000000000000002e80300000000000022512028a7b14f59e3094b596528399f2d06f5e0ebfbd09296b05859f3ae4e4344fde54eed090200000000225120ec77e0c605f8c7a8bab47843daad6a0ddddbd7b46dceffee6a5a0623db0a90d60140661a4c8a27e5abb9376518e462f8f586a5af2141d114a2cbd45422ae243df2f8d63a3f36624bb55bcedb388432eb60683e60e9f43de7d094f9005e350b3bd08f00000000",
80-
"anchor_block_hash": "00000000ccaac8ee1d015fe5036080c5062cd2a8fd36d336df8742738a9cf537",
81-
"anchor_outpoint": "183274b98657bb37012369cac96d9923ddeca67239eb651a52dada975c9d94a5:0",
82-
"internal_key": "02a64259f5878d7db1681041f5d0ff9313b4e9dc57e358bdc8a1da3f4d212e488d",
83-
"merkle_root": "4785adef0150d57ad473fa9ea312e258dd7663de9e844c2e503b3f47f010db3a",
84-
"tapscript_sibling": "",
85-
"block_height": 0
86-
},
87-
"prev_witnesses": [],
88-
"is_spent": false,
89-
"lease_owner": "",
90-
"lease_expiry": "0",
91-
"is_burn": false,
92-
"script_key_declared_known": false,
93-
"script_key_has_script_path": false,
94-
"decimal_display": {
95-
"decimal_display": 3
96-
}
97-
}
98-
56+
{
57+
"version": "ASSET_VERSION_V0",
58+
"asset_genesis": {
59+
"genesis_point": "4b93a1f07e0bb8a7184f863844033459dd69f45293d6a233170feb529eac13e5:0",
60+
"name": "beefbux",
61+
"meta_hash": "76cc761e50db8f655449ec7e5ff60be23ce45611ed362aed2242b8e265fc672f",
62+
"asset_id": "322b2858648b05e60d424320599b6f1e64b50e1028e42f5707572c21054c95c9",
63+
"asset_type": "NORMAL",
64+
"output_index": 0
65+
},
66+
"amount": "1000000000000",
67+
"lock_time": 0,
68+
"relative_lock_time": 0,
69+
"script_version": 0,
70+
"script_key": "02d4f510511e3847e653ab00117f045370a7713c288aa82a8319f3ae8eea76581c",
71+
"script_key_is_local": true,
72+
"asset_group": {
73+
"raw_group_key": "0355748322584bcf5c8e19b7617b53ef595b4fec2d5002e7248586a9a347002b40",
74+
"tweaked_group_key": "03dc4493748649194848033dbb95975fb6e4e5722528308f65a0246c39cefa047a",
75+
"asset_witness": "01400341437de835de2f71bdf64f51ca9011060291c80c121a2692636e8011438eb7109e96853b1b6187c479808c538d23fd89e54e777014b0cbbeaeeaad4f93c3fb",
76+
"tapscript_root": ""
77+
},
78+
"chain_anchor": {
79+
"anchor_tx": "02000000000101e513ac9e52eb0f1733a2d69352f469dd5934034438864f18a7b80b7ef0a1934b00000000000000000002e8030000000000002251204a00de62399e03079991f367d3ce61aab63cb2462c6aa6e810564c118e60d9fad84d220000000000225120eff3512a06c6dd4ccdaea11992e5bd1b217f6fdcd2ae1cbb107d82e0a63b23760140cb79015ba98a2881cf55cf15d4744ab451e7e03aaf7ec8e40bebaccf55f9d8dd466cfcb963a86b4daf4b014cae392269aad6d101b6655a8e5e26dd92d1f5780400000000",
80+
"anchor_block_hash": "0000000000000000000000000000000000000000000000000000000000000000",
81+
"anchor_outpoint": "1fe097512f60ee6d120797919040f0a27a3dc416ce7a1856294db9351f3c9ca4:0",
82+
"internal_key": "0225c3102e51864c0e18ad30e65ac16e22867e2ded1eca02b613f678bfacd0e3c5",
83+
"merkle_root": "295c1787fdddf6dba941a5ac9d936ce44bebaeab394b9d4f35eb9ac42d893502",
84+
"tapscript_sibling": "",
85+
"block_height": 0
86+
},
87+
"prev_witnesses": [],
88+
"is_spent": false,
89+
"lease_owner": "",
90+
"lease_expiry": "0",
91+
"is_burn": false,
92+
"script_key_declared_known": true,
93+
"script_key_has_script_path": false,
94+
"decimal_display": {
95+
"decimal_display": 6
96+
}
9997
```
10098

10199
The output of this command can be explained as follows:
@@ -144,10 +142,6 @@ Tapping into Taproot Assets #5: Mint from the CLI
144142

145143
Assets that were minted with the flag `--new_grouped_asset` do not have a fixed supply. A new batch of this asset can be minted later in a way that the two assets are considered of the same asset group, and therefore fungible.
146144

147-
{% hint style="info" %}
148-
**At the moment it is not possible to spend two assets with different asset IDs, even if they belong to the same asset group.**
149-
{% endhint %}
150-
151145
To increase the supply of such an asset, we will need its tweaked\_group\_key.
152146

153147
`tapcli assets mint --type normal --name beefbux --supply 100000 --decimal_display 3 --meta_type json --grouped_asset --group_key 025234364112f83ea7ee8e35f061d625df82ee07e443835107947e3bb53e8e9bfc`

0 commit comments

Comments
 (0)