Steem Money New Feature: Steem and Steem Dollar Converter

in utopian-io •  last year  (edited)


SteemMoney

New Feature

I added a steem and steem dollar converter on Steem Money application. This feature will not just convert from Steem/SBD to Bitcoin but also to any other curriencies like Australian dollar, Chinese Yuan, Japanese Yen, Philippine Peso, etc.

sm.PNG

As you can see, I added a new button in home screen and profile screen to link to the converter.


sm4.PNG

In Converter Screen, we can convert any value from Steem or Steem dollars to any currencies listed below.

List of Currencies:

  • BTC - Bitcoin
  • USD - US Dollar
  • AUD - Australian Dollar
  • BGN - Bulgarian Lev
  • BRL - Brazilian Real
  • CAD - Canadian Dollar
  • CHF - Swiss Franc
  • CNY - Chinese Yuan
  • CZK - Czech Koruna
  • DKK - Danish Krone
  • EUR - Euro
  • GBP - British Pound
  • HKD - Hong Kong Dollar
  • HRK - Croatian Kuna
  • HUF - Hungarian Forint
  • IDR - Indonesian Rupiah
  • ILS - Israeli New Shekel
  • INR - Indian Rupee
  • ISK - Icelandic Krona
  • JPY - Japanese Yen
  • KRW - South Korean Won
  • MXN - Mexican Peso
  • MYR - Malaysian Ringgit
  • NOK - Norwegian Krone
  • NZD - New Zealand Dollar
  • PHP - Philippine Peso
  • PLN - Polish Zloty
  • RON - Romanian Leu
  • RUB - Russian Ruble
  • SEK - Swedish Krona
  • SGD - Singapore Dollar
  • THB - Thai Baht
  • TRY - Turkish Lira
  • ZAR - South African Rand


20180219_180604.gif

  • How did you implement it/them?
Relevant Commits

I used Fixer.io and CoinMarket API to convert the Steem/SBD based on the current value of a currency. First, I retrieve the value of Steem/SBD in US dollars using the CoinMarket API. Then, I retrieve all the currencies in Fixer.io and set USD as the base parameter. Lastly, I multiplied the value of Steem/SBD in US dollars with the current value of the selected currency.

Links



Posted on Utopian.io - Rewarding Open Source Contributors

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  
  ·  last year (edited)

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

PS: you used the coinmarketcap.com API ;-) <= typo in your article
PS2: nice GUI! Keep it up!

Thank you so much :D

Hey @scipio, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!

@gentlemanoi, I like your contribution to open source project, so I upvote to support you.

Fantastic work, and thanks for this.

I often find myself opening a calculator to make conversions manually, so this will help me a lot!

Hey @gentlemanoi I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x