Skip to content

Instantly share code, notes, and snippets.

View kopcho's full-sized avatar

Kopcho kopcho

  • Kopcho
  • The Tipping Point of Technology
View GitHub Profile
@kopcho
kopcho / escrow-arbiter-any.cvx
Last active November 14, 2025 03:00
Arbiter-Controlled Digital Asset Escrow (CAD019/CAD029 Compliant)
; vim: syntax=clojure
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ACTOR: Arbiter-Controlled Digital Asset Escrow (CAD019/CAD029 Compliant)
;;
;; Purpose: A trustless escrow contract to securely hold any CAD019/CAD029
;; Digital Asset (Tokens, NFTs) until a designated ARBITER authorizes
;; release to the SELLER or refund to the BUYER.
;;
;; Mechanics: Uses the Asset's 'offer/accept' mechanism to lock funds and the
@kopcho
kopcho / FAQ of learnings for Convex Lisp concepts
Last active January 11, 2025 00:39
# Convex Lisp Smart Contract FAQ: Dutch Auction Debugging and Best Practices
; vim: syntax=clojure
# Convex Lisp Smart Contract FAQ: Dutch Auction Debugging and Best Practices
This FAQ documents the debugging process and best practices learned while developing a Dutch Auction smart contract in Convex Lisp. It covers both Convex Lisp-specific issues and general smart contract design considerations.
## I. Asset Handling and Ownership
1. **FAQ: Do I need to perform a separate ownership check before transferring an NFT in a smart contract function?**
Verifying that "kopcho.id" is my Blockstack ID. https://onename.com/kopcho