Getting Started
Starting with Signup is as easy as adding a provider to your setup:
$ npm install @signupcash/provider
Now you can import and use it in any file like this:
import Signup from "@signupcash/provider";
const signup = new Signup.cash({ addr: 'DEVELOPER BCH ADDRESS'});
If you are not using a package bundler like Webpack or Parcel, you can directly insert the provider inside your HTML file like this:
<body>
....
<script
type="text/javascript"
src="https://cdn.signup.cash/provider.js">
</script>
</body>
Signup is framework agnostic. You can use it inside any JavaScript framework or just with vanilla JS.
Last modified 2yr ago