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.
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>
<button onclick="tipMe()">
Tip 600 sats
</button>
// 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");
}
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!