Skip to content

cs-locker-contract is the smart contract codebase for the CS-Locker project, built using Clarity, the smart contract language for the Stacks blockchain.

Notifications You must be signed in to change notification settings

polimartlabs/csw-locker-contracts

Repository files navigation

csw-locker-contract

csw-locker-contract is the smart contract codebase for the CSW-Locker project, built using Clarity, the smart contract language for the Stacks blockchain.
This repository contains all the core contracts that power CSW-Locker — a decentralized platform for secure asset locking, permission management, and programmatic release.

Features

  • 🧱 Modular Clarity contracts for:
    • Asset lockers
    • Permissioned access control
    • Time-based and condition-based release mechanisms
  • 🔐 Secure and composable logic
  • 🧪 Contracts designed with testability and auditability in mind

Purpose

This repo serves as the foundational layer of on-chain logic for the CSW-Locker ecosystem, enabling decentralized and trust-minimized workflows.

Getting Started

To build and test contracts locally:

clarinet check
pnpm install
pnpm generate
pnpm test

To visualize the project coverage:

genhtml lcov.info --output-directory coverage-html --title "CSW Locker Contracts Coverage" --show-details --legend
cd coverage-html/
npx http-server . -p 8080

About

cs-locker-contract is the smart contract codebase for the CS-Locker project, built using Clarity, the smart contract language for the Stacks blockchain.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •