Use this guideline to start communicating with Signup API in your website and securely request transactions to your users without keeping custody of their private keys.

Insert the script in your website

receive the script in your dashboard at signup and insert it in your web page, right before closing body tag ⇒ </body> tag.

<script
   type="text/javascript"
   src="<https://cdn.signup.cash/client.runtime.js>"
></script>

Create a HTML button

<button onclick="tipMe()">
   Tip 600 sats
</button>

Write tipMe() function to request for payment of 600 satoshis

// initialize signup
const signup = new SignupCash({
   // insert your Bitcoin Cash address here
   addr: "bitcoincash:qqfnul5ttmqsr32kwv3memcfhfuzmws44q3aapks67"
});

async function tipMe() {
   const user = await signup.cash.authenticate();
   await user.pay(600, "SAT");
}

That's all!

But it's not much right? More functionalities like payment to others, payment of SLP and social interactions on top of Memo protocol is coming, very soon!