How do I share information about a transfer with Universe(s)? #907
Replies: 11 comments 2 replies
-
Here is a zip file with the proof that appeared on the recipient of the 2nd (final) transfer.
So I think I need to figure out what outpoint and script key to set. |
Beta Was this translation helpful? Give feedback.
-
Here is that proof decoded:
|
Beta Was this translation helpful? Give feedback.
-
But, I do think this is the proof that I need to upload to one or more universes. OK, this command seems promising:
|
Beta Was this translation helpful? Give feedback.
-
It seems I did "insert" the proof, but still this node does not know about this transfer... When I run |
Beta Was this translation helpful? Give feedback.
-
I have now exported another proof, this one from the node which retained the balance of
I now run a command to import that into the node which I want to know about this proof.
So this is a new error:
|
Beta Was this translation helpful? Give feedback.
-
What is a |
Beta Was this translation helpful? Give feedback.
-
I have now tried a the same command, but specified a
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
So now I want to go back to the node with I use this command...
and it generates this proof
Back on the computer I want to know about this proof. I run This proof is still rejected with the same
So somehow I still need to figure out a way to propagate knowledge of this transfer to Universe(s). Any wild guesses on a strategy? |
Beta Was this translation helpful? Give feedback.
-
Even when I run it on the same node that generated the proof, that owns the Another probably unrelated issue... This command https://lightning.engineering/api-docs/api/taproot-assets/asset-wallet/verify-asset-ownership has in its docs |
Beta Was this translation helpful? Give feedback.
-
To import a transfer proof, you should be able to do something like You may want to try the development CLI command |
Beta Was this translation helpful? Give feedback.
-
For my test asset, I've now made two transfers, first in the amount of
5
and, then in the amount of1
. Both transfers have succeeded, in that I can runtapcli assets list
on both of the recipienttapd
instances, and the correctamount
of both assets show up.I have also somehow synced information about the FIRST transfer with at least one universe, but for the SECOND transfer, there seems to have been some synchronization failure, and it seems nobody else on on the network knows about the SECOND transfer.
On the machine that both 1) minted the asset and 2) runs
assets.megalith-node.com
, I can runtapcli assets transfers
, and I see this encouraging list:So, how could I find out why various universes don't know about this SECOND transfer?
Well, on this computer, I am hosting a universe, why don't I query the universe to see if it knows about the transfers?
So, I start here:
https://lightning.engineering/api-docs/api/taproot-assets/universe/asset-leaves#universerpcid
The
AssetLeaves
API:This sounds like what I want! So I run it
Ok. This didn't work. So what if I try
group_key
instead ofasset_id
?Great! So clearly my local universe knows something about this asset.
But -- my it seems my local universe does not know about the TRANSFERS ... When I run...
.... Clearly: My local universe doesn't know about the transfers.
How could I tell it about the transfers?
My guess is that I might need to start by exporting a proof...
Export Proof
https://lightning.engineering/api-docs/api/taproot-assets/taproot-assets/export-proof
documentation:
... and then import the proof to my local universe
Insert Proof
https://lightning.engineering/api-docs/api/taproot-assets/universe/insert-proof
documentation:
I tried various things, which were not successful, and eventually froze up after spending too much time staring at the
InsertProof
documentation:What does
the asset ID of the universe to query for
mean? In the context of anInsert
ofProof
, what doesquery for
mean? My understanding is thatasset_id
s are unique, not scoped in any way by universes?Also, I can understand where the
group_key
andasset_id
would come from? But what aboutoutpoint
andscript_key
? Do I get that data from thetapcli assets transfers
command?I wonder if I am just misunderstanding and there is a better way to inform a local universe about a transfer?
Beta Was this translation helpful? Give feedback.
All reactions