Skip to content

feat: implement custom Stellar token/asset support for bets and payouts#364

Merged
greatest0fallt1me merged 2 commits intoPredictify-org:masterfrom
Spagero763:feature/custom-token-support
Feb 26, 2026
Merged

feat: implement custom Stellar token/asset support for bets and payouts#364
greatest0fallt1me merged 2 commits intoPredictify-org:masterfrom
Spagero763:feature/custom-token-support

Conversation

@Spagero763
Copy link
Contributor

1.Adds support for configurable Stellar assets for bets and payouts using Soroban token interface.
2.Allows admin to set allowed tokens per event or globally.
3.Integrates token transfer and balance logic for locking and payouts.
4.Validates token contract and decimals.
5.Emits events with asset info.
6.Handles approval/allowance if required by token.
7.Preserves XLM-native flow if still supported.
8.Includes tests for XLM and custom token flows, insufficient balance, and event emission.
9.Documentation and NatSpec comments included.

closes #265

@greatest0fallt1me
Copy link
Contributor

@Spagero763 resolve the conflicts & fix the pipeline

@greatest0fallt1me greatest0fallt1me merged commit ddf6424 into Predictify-org:master Feb 26, 2026
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.

feat: implement custom Stellar token/asset support for bets and payouts

2 participants