Skip to content

Tutorials

Welcome to the Paladin tutorials! These tutorials provide a comprehensive introduction to running Paladin, starting with basic concepts and progressing to advanced privacy-preserving applications.

Prerequisites

⚠️ To ensure you are using a stable version, always clone the most recent release tag:

REPO=https://github.com/LF-Decentralized-Trust-labs/paladin.git
TAG=$(git ls-remote --tags $REPO | cut -d/ -f3 | grep -v '\-rc' | sort -V | tail -n1)
git clone $REPO -b $TAG

Next Steps

The tutorials on this page provide an introduction to building on the Paladin platform. If you haven't already, visit the Getting Started guide to familiarize yourself with running Paladin before proceeding with any of the tutorials below.

  • Hello World


    Begin with a simple "Hello World" example to get familiar with deploying and interacting with smart contracts using the Paladin SDK.

  • Public Smart Contract


    Explore fundamental SDK functionality for deploying and interacting with a publicly visible contract that stores and retrieves data.

  • Private Smart Contract


    Discover how to use Privacy Groups and keep contract data confidential among authorized members using Paladin's Pente domain.

  • Notarized Tokens


    Learn how to issue, mint, and transfer tokens using Paladin's Notarized Tokens domain with notary-controlled oversight.

  • Wholesale CBDC


    Implement a wholesale CBDC with zero-knowledge proof features for enhanced privacy and regulatory compliance using the Zeto domain.

  • Private Stablecoin with KYC


    Deploy a private stablecoin with KYC compliance combining deposit/withdraw functionality with zero-knowledge proof privacy and nullifier protection.

  • Atomic Swap


    Learn how to perform atomic swaps between different types of privacy-preserving tokens across multiple Paladin domains.

  • Bond Issuance


    Understand how Notarized Tokens and Privacy Groups work together to model and manage a sophisticated bond issuance process.

Learning Path

The tutorials are designed to be completed in sequence, with each building upon the concepts introduced in previous tutorials:

  1. Foundation - Start with Hello World and Public Storage to understand basic Paladin operations
  2. Privacy - Move to Private Storage to learn about privacy groups and confidential contracts
  3. Tokens - Explore Notarized Tokens for controlled, auditable token operations
  4. Advanced Privacy - Dive into ZKP-based privacy with the CBDC and Stablecoin tutorials
  5. Integration - Learn atomic operations and complex workflows with Atomic Swap and Bond Issuance

Getting Help

If you encounter issues while working through the tutorials: - Check the Troubleshooting guide. - Review the Architecture documentation. - Explore the Examples repository. - Join the Paladin community on Discord for support and updates.