Los magnificos hackathon 2026#111
Open
rodrigoioyz wants to merge 53 commits intopyth-network:mainfrom
Open
Conversation
Updated contact email in README and added contribution types.
- lib/utils.ak: health_ratio, can_adjust, is_liquidatable, liquidator_payout, protocol_payout - lib/types/cdp.ak: CdpDatum with ada_locked, minted_amount, owner - validators/synth-dolar.ak: add Liquidate variant to Action type Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…compatibility (global, process, Buffer polyfills)
Restores the file to commit f999c63, removing Liquidate action variant and parameter renaming changes made during this session. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 tests covering health_ratio, can_adjust, is_liquidatable, liquidator_payout, protocol_payout and pow helper. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Forward direction ADA lovelaces → synth USD micro-tokens. Includes 4 unit tests: 1 ADA, 2 ADA, 1.5 ADA and round-trip. All 21 tests passing. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4 tests covering negative ADA values (Burn case): burn_1_ada, burn_2_ada, burn_1_5_ada and mint_burn_symmetry. All 25 tests passing. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Covers: what Synth Peso is, mint/burn/liquidate flow, Pyth Lazer integration details, build instructions and project structure. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Burn computes synth_burned = ada_withdrawn * price (forward direction), not ada_returned = synth_burned / price (reverse). Matches actual code. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ce + dynamic ADA price handling
- Protocol parameters: collateral_ratio=150%, liquidation_threshold=120% - Step-by-step user flow for mint, burn and liquidation - Quality assurance: edge cases, oracle failure and price anomaly handling - Business: target users, market need, competitive table, revenue, scalability Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
[Cardano][Pyth] Fullstack dashboard + backend price API integration
npm install + npm run dev for both frontend (Vite) and backend (ts-node-dev). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Documents 3 endpoints: get-adaprice, get-adaprice-history, get-adaprice-range. Includes parameters, response schemas, error codes and TradingView compatibility note. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
pyth_policy_id: d799d287105dea9377cdf9ea8502a83d2b9eb2d2050a8aea800a21e6 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pyth Examples Contribution
Type of Contribution
Project Information
Project/Example Name:
Pyth Product Used:
Blockchain/Platform:
Description
What does this contribution do?
How does it integrate with Pyth?
What problem does it solve or demonstrate?
Directory Structure (for new examples)
Testing & Verification
How to Test This Contribution
Prerequisites
Setup & Run Instructions
Deployment Information (if applicable)
Network:
Contract Address(es):
Demo URL:
Checklist
Code Quality
Testing
Additional Context
Related Issues
Fixes #
Screenshots/Demo (if applicable)
Notes for Reviewers
Thank you for contributing to Pyth Examples!