Skip to content

Demo webapp for Anchor wallet authentication and showing Atomic Assets in EOSIO based Blockchain - WAX

Notifications You must be signed in to change notification settings

nishanchx/wax-anchor-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

wax-anchor-login

Demo webapp for Anchor wallet authentication and showing Atomic Assets in EOSIO based Blockchain - WAX

To run the web-app,

cd wax-anchor-login
npm install
npm run start

then, login with Anchor Authentication in Testnet, note that wax cloud wallet isn't included here.

For displaying Assets ( Wax NFTs from you inventory ), all you have to do is input an collection name or your own collection name by the atomicassets testnet api.

// getting assets through atomicassets testnet api
  const GetAssets = async (account:any) => {
    let results = [];
    var path = "atomicassets/v1/assets?owner=" + account + "&page=1&limit=1000&order=desc&sort=asset_id";
    const response = await fetch("https://" + "test.wax.api.atomicassets.io/" + path, {
      headers: {
        "Content-Type": "text/plain"
      },
      method: "POST",
    });

About

Demo webapp for Anchor wallet authentication and showing Atomic Assets in EOSIO based Blockchain - WAX

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published