It’s Time To Build: Add Elrond Authentication & Transaction Signing To Any dApp Via The Elrond dApp Core Components

Lucian Mincu
·
May 10, 2021
·
2 min read

Blockchain technology has an as of yet undiscovered number of applications. Virtually every business domain stands to benefit from it. And every integration starts with perhaps the most important thing: proving ownership.

Web applications rely on the “username & password” and other similar authentication methods, which are relatively easy to implement and familiar for most developers.

Blockchain public key cryptography offers superior security and privacy when compared to legacy authentication mechanisms. At the same time, it is a paradigm shift for developers, who often have to rebuild several components in their application to allow blockchain integration.

This is why we are excited to announce that the Elrond dApp core components are live!

The Elrond dApp Core Components

Starting with today, anyone can add Elrond Network authentication and transaction signing to their web sites and dApps by simply using:

npm i @elrondnetwork/dapp

The Elrond dApp core components are built using React and Typescript. The npm package installs the library that helps any website and dApp owner to authenticate their users and execute Elrond blockchain transactions.

Web Wallet, Maiar Login, and Ledger methods for authentication and transaction signing are included. You can enable all of them to allow users to sign in to your app using their Elrond ID and integrate blockchain transactions into your processes.

If you want your customers to use your ESDT token when interacting with your application, make sure to use the appropriate string in the TransactionPayload when sending a transaction - nothing more to it:

TransactionPayload, ESDTTransfer@4f5853592d336463373862@8AC7230489E80000

The above example means 10 Oxsy tokens will be sent with the transaction.

You can experience all the available Elrond authentication mechanisms from a user’s perspective on the Maiar Exchange, give it a try:

https://maiar.exchange/unlock

Conclusion

Issuing tokens on the Elrond Network is fast, intuitive, and inexpensive. Integrating Elrond authentication and TX signing is now made easy. Thanks to the Maiar Login, hundreds of thousands of users can already sign in and use your services today.

Get started: https://www.npmjs.com/package/@elrondnetwork/dapp


For more information, please visit us:


#technical

Written by
Lucian Mincu
CIO, Elrond Network