Last active
March 13, 2023 18:00
-
-
Save ChinmayPatel/61d09f4bafab8eaf4b3594dead876db5 to your computer and use it in GitHub Desktop.
Sample Demo Script for PERCS Integration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="https://assets.getpercs.com/sdk/percs.js"></script> | |
<script type="text/javascript"> | |
window.PERCS.init({ | |
clientKey: "{{clientkey}}", | |
apiHost: "https://api.getpercs.com", | |
logo: "https://assets.getpercs.com/degen-deals/logo.svg", | |
}) | |
</script> | |
<percs-offer-button scope="" text="Connect Wallet to Redeem">Connect Wallet to Redeem</percs-offer-button> | |
<percs-modal></percs-modal> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment