πŸ› οΈ Co:Create SDK

SDK Overview

The Co:Create SDK is designed to facilitate the integration of Co:Create Platform capabilities into your application, offering modules for Social Connect and Crypto Payments. These modules aim to help you build a richer customer profile and enhance your application's functionalities, all the while simplifying the integration process.

  • Social Connect provides a simple yet secure way for users to connect their existing social media accounts to your application. This feature currently supports Twitter and Discord, with more platforms like Instagram, TikTok, Spotify, and others in the future. By abstracting the complexity of the integration process with each individual social platform, the Social Connect feature offers functions such as connectTwitterLink and connectDiscordLink, which generate links for connecting a user's respective social media accounts to your application. This ensures a seamless and secure authentication process, providing an enjoyable user experience and strengthening user trust.
  • Crypto Payments handles the complexities of dealing with ERC-20 and native tokens, enabling users to make purchases within your app using cryptocurrency. With this feature, developers can conveniently manage crypto payments, bypassing the intricacies of dealing with multiple wallets, tokens, and blockchains. It provides functions that enable users to purchase with either ERC-20 or native tokens, catering to the needs of an increasingly crypto-friendly user base.

Using the SDK

Pre-requisites

  • Node.js 16 LTS or higher
  • NPM or Yarn
  • Your app to serve on localhost:3000

Install the SDK in your app with:

npm install @usecocreate/sdk

Import pre-built functions into your app as necessary

You can get started with the SDK's Discord Connect feature by jumping to the 5-Minute Discord Integration Guide .