You can check the full documentation at docs.crossmint.com
The Crossmint SDK allows you to offer wallet-less credit card purchases on your NFT drop. It takes 5 lines of code and 5 minutes to integrate. It's free to use for the seller. You’ll get the sales proceeds in SOL/ETH as if the user was paying with their own wallet.
To get started and for full integration instructions visit our documentation.
Version 0.1.0 introduces breaking changes. To learn how to migrate from a version lower than 0.1.0, check out the migration guide.
Version 0.2.0 introduces breaking changes. To learn how to migrate from a version lower than 0.2.0, check out the migration guide.
- Clone the project:
git clone https://github.com/Crossmint/crossmint-sdk.git
- Install dependencies:
cd crossmint-sdk
pnpm install
- Build all packages:
pnpm build
- Run locally:
cd apps/payments/create-react-app
pnpm start
Remember that if doing changes on the @crossmint/client-sdk-react-ui
package, they wont be reflected into your project until you rebuild the package and install it back again:
# Inside `packages/client/ui/react-ui`. Rebuild package
pnpm build
# Inside the starter. Eg. `packages/client/startes/nextjs-starter`. Install rebuilt package
pnpm install
- Locally, run
pnpm change:add
- the CLI will guide you through selecting which packages you want to update + adding a short message for the changelog - Commit the generated
changeset
file to your PR - The
changeset-bot
will comment on your PR when it detects a newchangeset
has been added - Merge your PR, with the
changeset
, tomain
- A "Release packages" PR will be created/updated by the
changeset-bot
, detailing the pending updates - Merge the "Release packages" PR to main - the new packages will automatically be published on the NPM registry
- Done!
pnpm build
pnpm test
pnpm run lerna version
pnpm build
pnpm run publish