Setting Up Sample App on HandCash

If You Don’t Have a Handcash Dev Account, Get One

Every Asset Layer app has a corresponding Handcash app. So if you don’t have a Handcash developer account, you are going to need one. Head to Handcash and create your account.

Create Your HandCash App

Once you are logged into the HandCash dashboard, click "Create app". For developers planning to extend Sample App, we recommend you create two Handcash apps for your Asset Layer app - one to use for developing locally, and another for deploying your app to production.

You will need your HandCash App ID and App Secret which will be used to create your Asset Layer App and to configure the Sample App.

Setup the Redirects on Your Apps

Next configure the redirects for your Handcash apps. For local development, enter http://localhost:3000 for the redirects. For your production app, enter the url for your app. For example, the production redirect for the Sample App is https://nftsample.app. This can be the same for both the success and decline redirect URLs.

Setup the Extension on Your Apps

The only setting you need to change to use Asset Layer is to add the Asset Layer extension to your Handcash apps. To do this, go to the Extensions menu and click the “+ Add extension” button. Paste in the Asset Layer app ID, 634db6e695a8f2da399ecde3, press enter and you are good to go.

You are welcome to add other details to your HandCash now or in the future. They won't be necessary for the rest of the setup tutorial.

Last updated