Cypher On-Boarding SDK
Cypher On-Boarding SDK was created to solve the Cold Start Problem in dApp User Onboarding where users have to rely on 3rd party sources for on-ramp, bridging and go through a steep learning curve.
Example Code Snippet
<script src="https://public.cypherd.io/sdk/cypher-sdk.js"></script>// For Testnet
window.Cypher({
address: '0xdEc1bc71bf91431D60eF2742f412DCd1c5A204B8',
targetChainIdHex: '0x5', // Eth - Goerli
requiredTokenBalance: 65,
isTestnet: true,
theme:'light',
callBack: () => { console.log('callBack called'); }
});
// For Mainnet
window.Cypher({
appId: '<<app id for your account>>'
address: '0xdEc1bc71bf91431D60eF2742f412DCd1c5A204B8',
targetChainIdHex: '0x1', // Ethereum
requiredTokenBalance: 0.1,
callBack: () => { console.log('callBack called'); }
});
Args
Value
Description


DEMO
ChainId List
Last updated