Does someone know where details about the EXT NFT standard are defined? In particular, I’m looking for the implementation of the lock
and settle
methods that are used in their NFT canisters (e.g. here).
I know there is the github repository of toniqlabs which contains various examples of the implementation of the EXT standard. However, these don’t seem to be the actual ones that are implemented on Entrepot.
Both methods, lock
and settle
, that are used for all Entrepot NFTs (see BTCflower canister here), are missing in the repository. Also, the ext.did.js that they provide in the Entrepot repository is different from the examples on the EXT repo.
Taken from the Entrepot repository, the purchasing process is two steps:
- They
lock
andtransfer
the ICP in some address that belongs to them. - Then they settle the transaction with the
settle
method and thereby transfer 94% to the seller, 5% to the creator as royalties, and 1% to themselves as fees. It is not clear to me what happens inside thesettle
method and how the fee address can be defined.
I was wondering that if someone wants to trade these NFTs not on Entrepot but on some other platform, the 1% fee will always go to Entrepot as there is no way to define the fee address. Am I missing something or is this the case?
An example of a transaction is below that shows the transfers of the temporary address where the ICP are locked before being settled.