Here is the demo of an MultiversX dapp for interactions with the blockchain and smart contracts. It provides four different ways of authentication and also a couple of React-based helpers/hooks. It is based on NextJS and uses JS SDK (sdk-core). It also uses Shadcn UI and Tailwind CSS.
We have hardcoded a setup for five different operations to simplify things. These are:
- - Simple EGLD transfer to hardcoded address.
- - Simple Mint operation on Elven Tools demo minter smart contract.
- - Random query operation on the Elven Tools demo minter smart contract.
- - Simple smart contract deployment
- - Signing a mesage
It is to demonstrate how such things can be achieved without much development. Maybe later, we will come up with a much better demo dapp.Now let us see what other valuable tools are included.
You can get the data of currently logged-in users and network state. These are:
- - User data such as: address, nonce, balance.
- - User logging in state: pending, error, loggedIn.
- - Login info state: loginMethod, expires, loginToken, signature.
Better docs, and more improvements soon!