Skip to content

Conversation

yomarion
Copy link
Member

@yomarion yomarion commented Sep 14, 2023

This replaces the use of deprecated Flux protocol with Switchboard instead, only for payments in native NEAR tokens.

feat: Switchboard oracle for USD requests payment in NEAR
fix: refund the payer if the deposit is too small
chore: tests now use gas_price = 0
chore: minor README simplification

Here an example of a working payment: https://explorer.testnet.near.org/transactions/985QGTiNcoRqR7AtHaRYrvhR2CjaPry2P7aioASkBLCL

@yomarion yomarion force-pushed the feat/switchboard-oracle-near-usd branch from ac82c02 to 0aca90c Compare September 19, 2023 14:45
@yomarion yomarion force-pushed the feat/switchboard-oracle-near-usd branch from f871fe3 to 54798c5 Compare September 19, 2023 15:14
Copy link
Member

@MantisClone MantisClone left a comment

Choose a reason for hiding this comment

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

@yomarion I finished reading through the current change set. ✅

Copy link
Member

@MantisClone MantisClone left a comment

Choose a reason for hiding this comment

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

Nice and clean 💯

@yomarion yomarion merged commit d413e91 into main Sep 23, 2023
@yomarion yomarion deleted the feat/switchboard-oracle-near-usd branch September 23, 2023 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants