Programming a Crypto Wallet Dashboard for Binance Smart Chain Holdings | by Justin Spitzer | Feb, 2022

Utilizing Covalent’s API to generate an up-to-date dashboard

Photograph by Austin Distel on Unsplash
Checklist of Covalent supported blockchains. Photograph from

Getting Pricing Information

# Replace pockets costs
for i in pockets:
for j in current_prices:
if j['Name'] == i['Name']:
i['Price'] = j['Price']
# Generate filter to take away '0' costs
zerodrop = []
for i in current_prices:
if float(i['Price']) == 0:
if i['Name'] != 'BNB':
# Replace pockets listing of dicts with internet value worth
for i in pockets:
for j in netcost:
if j['Name'] == i['Name']:
i['Net Cost'] = j['Net Cost']

More Posts