DAPP Development
Setting up an app to interact with a smart contract usually involves these steps:
Find the required metadata.json file in GitHub.
Store the file in a folder in your app.
Setup your app to access the file for smart contract interaction.
Smart Contract Hub makes this a faster and simpler process by:
Reducing time spent finding ABIs.
Enabling your app to access ABIs in the cloud with one line of code:
let metadata = await $.ajax({
url: "https://link.storjshare.io/s/juldos5d7qtuwqx2itvdhgtgp3vq/smart-contract-hub-production/6lt68j0j56o4u9e6xq63hzf910tj.json?download=1"
});
Instructions
Goto Smart Contract Hub
Click "New".
Fill out the form and click "Create".
Expand the result.
Right click on the download icon for the ABI and copy the link address.
Use the url in your app as per the code block above.
Last updated