Skip to content

First commit#112

Open
luloxi wants to merge 2 commits intopyth-network:mainfrom
luloxi:main
Open

First commit#112
luloxi wants to merge 2 commits intopyth-network:mainfrom
luloxi:main

Conversation

@luloxi
Copy link

@luloxi luloxi commented Mar 22, 2026

Pyth Examples Contribution

Type of Contribution

  • [X ] New Example Project (Adding a new example to demonstrate Pyth integration)
  • Bug Fix (Fixing an issue in existing examples)
  • Documentation Update (Improving README, comments, or guides)
  • Enhancement (Improving existing functionality or adding features)
  • [x ] Hackathon Submission (Submitting a project from a hackathon)

Project Information

Project/Example Name: Iron Piggy

Pyth Product Used:

  • [x ] Pyth Price Feeds
  • Pyth Entropy
  • Multiple Products
  • Other: ___________

Blockchain/Platform:

  • Ethereum/EVM
  • Solana
  • Aptos
  • Sui
  • Fuel
  • Starknet
  • TON
  • [x ] Other: Cardano

Description

What does this contribution do?

A vault where you can lock multiple assets and they must reach a value in USD to unlock the assets back.

How does it integrate with Pyth?

Pyth helps guarantee all assets sum up the correct amount in USD to keep the vault safe.

What problem does it solve or demonstrate?

It helps save money for a goal and not be tempted to withdraw early.

Directory Structure (for new examples)

lazer/cardano/
├── README.md # Project documentation
├── nextjs/ # Frontend
├── aiken/ # Smart contracts

Testing & Verification

How to Test This Contribution

Prerequisites

  • Node.js version: Node.js 20.9+
  • Other dependencies: -

Setup & Run Instructions

cd nextjs
npm install
npm run dev

Open http://localhost:3000 and use the platform to deploy a Iron Piggy vault and interact with it.

Deployment Information (if applicable)

Network: Cardano

Contract Address(es): They're deployed from the frontend. Here's an example: addr_test1wqqvrtj00t7r4l5sy6aefm23kysmjs99g7q79el6ftl7w2qt6899v

Demo URL:

Checklist

Code Quality

  • Code follows existing patterns in the repository
  • [x ] Proper error handling implemented
  • [x ] No hardcoded values (use environment variables where appropriate)

Testing

  • Tested locally and works as expected
  • [x ] All existing functionality still works (no breaking changes)

Additional Context

Related Issues

[x ]

Screenshots/Demo (if applicable)

https://www.youtube.com/watch?v=i4oj4GmRhfg&feature=youtu.be

Notes for Reviewers


Thank you for contributing to Pyth Examples!

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.

1 participant