Skip to content

React App demoing the capability of Alchemy's Core/Assets API SDK

License

Notifications You must be signed in to change notification settings

DraconMarius/tokenapi-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alchemy Token API - Demo

License: MIT

Check out the badges hosted by shields.io

Deployed Heroku Link

Description

A GUI demo-ing the capability of Alchemy's Token API SDK


Table of Contents


Installation

This project is hosted on a heroku eco-dyno, when it is not being actively used it requires a bit extra start up time. This can be mitigated by upgrading to the next tier on heroku.

Deployed Heroku Link

If you would like to host a version of it yourself, please follow these instructions:

to install both the client and server side dependencies: npm i

start the server: npm start

to concurrently start server and client react code w/ hotreload: npm run develop

if you run into any issue with conflicting dependency with the split-flap display, you can include --legacy-peer-deps tag in your npm i / install script in your package.json. if you are indeed hosting your own version, please ensure that there is a .env file with your Alchemy API Key set up correctly in your project!


Usage

To query blockchain token data using the Alchemy SDK requires the follow params:

You are also able to connect your browser extension wallets that utilizes the EIPS-6963 which helps avoid conflict and improves user experience. See Snippets for code sample

gif0

Owned Tokens and metaData

  • network
  • wallet address
  • pageKey (optional)

gif1

Transactions related to focused Token

  • network
  • wallet address
  • contract address

gif2

All in/out bound transactions associated from a Contract on specific Network

  • network
  • wallet address
  • pageKey (optional)
  • sorting direction (optional)
  • exclude Zero value (optional)
  • type of transactions: currently includes all type supported on mainnets [external, erc20, erc721, erc1155, specialnft]

gif3

Transaction Receipts

  • network
  • Transaction Hash

gif5



License

License: MIT


Author

Mari Ma

github linkedin

Icon credit @ Anton Kalashnyk


Questions

For any questions, please reach out directly or by creating an issue.

About

React App demoing the capability of Alchemy's Core/Assets API SDK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published