-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Description
Add a multiple select menu where the user can select from a pre-determined array of currencies to get their score calculated based on these choices. For more info, please follow the link: https://github.com/BalloonBox-Inc/SCRTSibyl_phase2#detailed-product-description-bulb-high_brightness-toolbox
Array of allowed currencies
[ "USD", "EUR", "BTC", "ETH", USDT", "USDC", "BNB", "XRP", "SCRT" ]
Dealing with the result
Send the selected currencies as an array of strings to the following endpoints through the key currencies:
- /credit_score/plaid
- /credit_score/coinbase
For example:
Add currencies to the constant body at line 81 in the case of plaid and line 31 in the case of coinbase.
const body = { currencies: ["USD", "BNB", "SCRT"], ... };
PS.: keplr_token: 'not-needed-yet' can be removed from body. The backend won't need it.
To do
- create the multiple select menu frontend
- catch the selected currencies
- send
currenciesto the appropriate endpoints
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request