;; NFT EXAMPLE

(define-non-fungible-token stackaroo int)

(define-constant owner1 'SP60Y5VCGHXRYFGY87QYZ593TW2A2SACKYAG4ZBF)

(define-constant owner2 'TZ2J6ZY48GV1EZ5V2V5RB9MP66SW86PYKKQ9H6DPR)

(nft-mint? stackaroo 600000 owner1)

;; Asset '600000' is now owned by owner1

(nft-get-owner? stackaroo 600000)

;; Asset '300000' is not owned by anybody:

(nft-get-owner? stackaroo 300000)

(nft-mint? stackaroo 30000 owner2)

;; Asset '300000' is now owned by owner2:

(nft-get-owner? stackaroo 300000)

;; Transfer ownership of '600000' to owner2:

(nft-transfer? stackaroo 600000
  owner1 owner2)

;; Asset '600000' is now owned by owner2

(nft-get-owner? stackaroo 600000)

;; Unit test validating the two assets have the same owner:


(nft-get-owner? stackaroo 600000)

(nft-burn? stackaroo 600000 owner2)

;; The asset '600000' is now owned by owner1:

(nft-get-owner? stackaroo 600000)