Skip to content

Conversation

@tilo-14
Copy link
Contributor

@tilo-14 tilo-14 commented Jan 27, 2026

Summary

  • Programs: escrow, fundraiser, light-token-minter, token-swap, token-transfer
  • Each program includes tests for SPL, Token-2022, and Light tokens

Programs included

Program Description
escrow Token escrow with light token support
fundraiser Crowdfunding supporting SPL/T22/Light tokens
light-token-minter Create and mint light tokens
token-swap AMM with liquidity pools for light tokens
token-transfer Basic light token transfers
shared-test-utils Common test utilities

Test plan

  • Run anchor build in programs/anchor
  • Run tests for each program

Open with Devin

@tilo-14 tilo-14 changed the title Add Anchor program examples with Light Protocol integration Add escrow amm program examples Jan 27, 2026
Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 5 potential issues.

View issues and 7 additional flags in Devin Review.

Open in Devin Review

Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 3 new potential issues.

View issues and 13 additional flags in Devin Review.

Open in Devin Review

@tilo-14 tilo-14 force-pushed the escrow-anchor-example branch from 46f7553 to 9753fa9 Compare January 29, 2026 23:08
- Escrow: peer-to-peer token swap (make_offer, take_offer)
- Fundraiser: time-gated fundraising with refunds
- Token-swap: constant-product AMM with liquidity pools
- Light-token-minter: create light-mints with metadata
- All programs tested across 5 token configs (SPL, T22, Light, LightSpl, LightT22)
- CI aligned with upstream Photon indexer rev
@tilo-14 tilo-14 force-pushed the escrow-anchor-example branch from 9753fa9 to b4f661f Compare January 29, 2026 23:10
@ananas-block ananas-block changed the base branch from main to jorrit/feat-escrow-anchor-example January 30, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants