Signup
Search…
Getting Started

Install

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