webaverse / webaverse-blockchain-lib

0 stars 1 forks source link

Getting Started with webaverse-blockchain-lib

npm install // Installing the node modules
npm run prepare // Build the project

cd examples

npm install // Installing the node modules
npm run start // To run the project

About the project

There are four functions(Login with metamask, Login with discord, Fetch Profile and Update the name) in this project. For signing and verification it uses ethers.js. Ethers.js is a JavaScript library that allows developers to interact with the Ethereum blockchain. And the main class of this project is MetamaskManager class and Profile class. They use ethers.js to connect the metamask, get the profile and update the profile.

  1. Login with metamask

    • Connect metamask

    1

    • Login to metamask

    2

  2. Login with discord You can login to metamask. The function of login with discord is not implemented yet.

  3. Fetch Profile You can get information of wallet and your personal information. Not working

  4. Update the name You can update your profile name. You should input the name without no space. Not working.