Agreeing
Cryptographic Signatures... not pictures of signatures on PDFs.
Once the seller mints a trade and a token id is generated, the buyer is able to agree to the asset's agreement terms.
Agreement to payment terms happens through a standard web3 command that requires a cryptographic signature. Interestingly, this methodology is much more secure than traditional digital signatures.
const txHash = await buyer.invoke(
txAssetContract,
"agree",
{
tokenId: toUint256WithFelts("0")
},
{ maxFee: FEE}
)
The token id in the example above is "0".
Last updated