Welcome to Paper's Embedded Wallet Service (EWS) Alpha Sample App

Feel free to play around with a live deployment of this sample app here

Find the docs with more information here

To run this app locally, clone this repo, run npm install, and npm start The rendered page should look like the following image:

image

Logging in with email address is using the <Login> component and sends a unique 6-digit code from Paper to the email given in the input. Upon verification, the user is then prompted to enter a security password and download an 8-word secret recovery phrase to reset the password in the event that the password is lost or forgotten. The user will be prompted to enter this password every time they log in using a new device.

After the initial setup, the following page will be rendered. On this page, you can sign a message, sign a transaction, call the custom gasless contract method (which airdrops an NFT to the wallet), and log out of your wallet.

image