API Proxy for SteemIt Wallet Tron Integration

in #witness-category5 years ago

steemit provides Tron-Steem Integration, and currently it uses this:

https://steemitwallet.com/api/v1/tron/tron_user?username=steemit

which returns:

  "status": "ok",
  "result": {
    "username": "steemit",
    "tron_addr": "TNstqVNth43hJUwzy5x9gicp7tiS7JbXt8",
    "pending_claim_tron_reward": "0 TRX",
    "tip_count": 1
  }
}

However, if used on front-end, the CORS issue will be thrown:

image.png

Hence, If you have met the CORs issue by using the API in front-end, you can use https://steemyy.com/api/tron/?s=justyy which is a proxy that allows access from all origins.

It works great..
You can see Profile page at https://steemyy.com/account/justyy
or witness page at https://steemyy.com/witness-data/justyy

image.png

@steemcurator01
@steemcurator02
@steemcurator03
@steemcurator04
@steemcurator05
@steemcurator06
@steemcurator07
@steemcurator08
@steemcurator09
@steemcurator10

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Thank you for reading ^^^^^^^^^^^^^^^

NEW! Following my Trail (Upvote or/and Downvote)

Follow me for topics of Algorithms, Blockchain and Cloud.
I am @justyy - a Steem Witness
https://steemyy.com

My contributions

Delegation Service

  1. Voting Algorithm Updated to Favor those High Delegations!
  • Delegate 1000 to justyy: Link
  • Delegate 5000 to justyy: Link
  • Delegate 10000 to justyy: Link

Support me

If you like my work, please:

  1. Delegate SP: https://steemyy.com/sp-delegate-form/?delegatee=justyy
  2. Vote @justyy as Witness: https://steemyy.com/witness-voting/?witness=justyy&action=approve
  3. Set @justyy as Proxy: https://steemyy.com/witness-voting/?witness=justyy&action=proxy
    Alternatively, you can vote witness or set proxy here: https://steemit.com/~witnesses

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.083
BTC 60213.83
ETH 1578.35
USDT 1.00
SBD 0.42