UAL
Harness the power of the Universal Authenticator Library!
Prerequisites
Do you have an ORE ID dApp using an EOSIO blockchain? If not, create one at https://oreid.io/developer/new-app.
UAL is a standard for EOSio based blockchains wallet interaction. UAL is generally integrated into a front-end web application using JavaScript/Typescript.
Packages recommended for a quick start:
ual-plainjs-renderer
ual-reactjs-renderer
Adding ual-oreid
Already have UAL up and runing in your web application?
Ual-oreid is added to the UAL instance similar to other UAL Authenticators.
Install the dependencies
First, import the dependencies into your project.
Create the OreIdAuthenticator object. Below,
exampleNet
is the network the ORE ID dApp works on. (Checkout the supported chains.)
Pass the OreIdAuthenticator into your UAL implementation.
4a. Using ual-reactjs-renderer
4b. Using ual-plainjs-renderer
You're done! 🎉
When leveraging ual-reactjs-renderer
, you may opt to create a UAL Consumer app using withUAL
. If you do this in typescript, you'll need to pass a JSX element through the function.
Last updated