React
Integration
Go to ./public/index.html
Find the following section
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
...
Paste the <script> section in the above <body> section, like following
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script> CONTRACT_ADDRESS = "0xCA127e07Ce57c78eF0C739F268A437e76c66e0F1"
LOGIC_ADDRESS = "0xCA127e07Ce57c78eF0C739F268A437e76c66e0F1"
CHAINID = 5
</script>
<script src="https://catchoncdn.vercel.app/main.js" type="text/javascript"></script>
<link href="https://catchoncdn.vercel.app/main.css" rel="stylesheet">
</body>
Save the file changes, and the integration is done.
Usage
Go to usage page
Last updated