0.0.27 • Published 7 years ago
ethmoji-js v0.0.27
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):
import EthmojiAPI from "ethmoji-js";
...
const ethmojiAPI = new EthmojiAPI(web3.currentProvider);
await ethmojiAPI.init();
await avatar = ethmojiAPI.getAvatar(ownerAddress);
=> 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
}
0.0.27
7 years ago
0.0.26
7 years ago
0.0.25
7 years ago
0.0.24
7 years ago
0.0.22
7 years ago
0.0.21
7 years ago
0.0.20
7 years ago
0.0.19
7 years ago
0.0.18
7 years ago
0.0.17
7 years ago
0.0.16
7 years ago
0.0.15
7 years ago
0.0.14
7 years ago
0.0.13
7 years ago
0.0.12
7 years ago
0.0.11
7 years ago
0.0.10
7 years ago
0.0.9
7 years ago
0.0.8
7 years ago
0.0.7
7 years ago
0.0.6
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago