Giter Club home page Giter Club logo

webaverse-blockchain-lib's Introduction

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.

webaverse-blockchain-lib's People

Contributors

hamzatrq avatar redsky500 avatar 0reo avatar

Watchers

James Cloos avatar Avaer Kazmer avatar  avatar

Forkers

thenexuscity

webaverse-blockchain-lib's Issues

add more details to readme

good start on the readme docs, but more detail is required. such as:

  • what's the difference between metamask and discord login?
  • what does the NFT class do?
  • what does the profile provide?
  • etc

Set Name does not work

First run the project and login with metamask.
And you can check your profile information by clicking fetch profile button.
And you can change the your profile name by clicking set name button. But it does not working.

  • Check the updateProfile function in ProfileManager class and fix
  • Check the setProfile in app.js and fix
  • Check the smart contract and fix

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.