From 0b91adbdd83ef2d9e771f501212e1d5c701fdf7a Mon Sep 17 00:00:00 2001 From: janniks Date: Tue, 26 Jul 2022 17:15:43 -0400 Subject: [PATCH] docs: update readme for post conditions --- packages/transactions/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/transactions/README.md b/packages/transactions/README.md index 805f8db6..8b8c18f4 100644 --- a/packages/transactions/README.md +++ b/packages/transactions/README.md @@ -458,6 +458,12 @@ const contractFungiblePostCondition = makeContractFungiblePostCondition( ### Non-fungible token post condition +> **Warning** +> The post-condition codes for NFTs are currently misleading. The Stacks blockchain's post-condition processor does NOT check ownership. +> It checks whether or not a principal **sent** or **did not send** an NFT. +> Post-conditions can NOT verify anything about the recipient of an asset. +> If you want to verify conditions about asset recipients, you will need to use [Clarity](https://docs.stacks.co/docs/write-smart-contracts/). + ```typescript import { NonFungibleConditionCode,