ethmoji-js
Let's developers interact with the Ethmoji game, starting with fetching your users' Ethmoji avatar.
Installation & Setup:
yarn add ethmoji-js
Using ES6 style imports (recommended):
;... const ethmojiAPI = web3currentProvider;await ethmojiAPI;await avatar = ethmojiAPI; Avatar name: Ethmoji name tokenId: Ethmoji tokenId in the smart contract imageUrl: Ethmoji image url for displaying ownerAddress: Ethmoji ownerAddress ownerUsername: Ethmojis ownerUsername on OpenSea