Skip to content

Conversation

@tansawit
Copy link

This adds the ability for users to see the currently chosen trading pair's prices in their preferred local currency. The conversion rate is retrieved using Band's decentralized oracle.

This aims to help users whose preferred trading currency is not USD better make their trading decisions. Currently, the available currency options are:

"USD", "CNY", "EUR","GBP","KRW","JPY","INR","RUB","CHF","AUD","BRL","CAD","HKD", "SGD"

photo_2563-10-20 16 38 11

@tansawit tansawit changed the title added: band oracle for local currency options added: local currency conversion options Oct 20, 2020


const CurrencyContext = React.createContext<null | any>(null);
const bandchain = new BandChain("http://poa-api.bandchain.org")
Copy link
Contributor

Choose a reason for hiding this comment

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

is this a reliable source of fx data?

Copy link
Author

Choose a reason for hiding this comment

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

Yes. This data is from Band Protocol's decentralized oracle be on our proof-of-authority mainnet

https://bandprotocol.com
https://guanyu-poa.cosmoscan.io

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.

2 participants