Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crossmint/crossmint-sdk
Crossmint SDK for client and server integrations
https://github.com/crossmint/crossmint-sdk
credit-card ethereum mint nextjs nft nfts polygon react solana
Last synced: 9 days ago
JSON representation
Crossmint SDK for client and server integrations
- Host: GitHub
- URL: https://github.com/crossmint/crossmint-sdk
- Owner: Crossmint
- License: apache-2.0
- Created: 2021-11-17T00:39:57.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T02:03:18.000Z (10 days ago)
- Last Synced: 2024-10-29T09:13:39.666Z (10 days ago)
- Topics: credit-card, ethereum, mint, nextjs, nft, nfts, polygon, react, solana
- Language: TypeScript
- Homepage: https://demo.crossmint.io/
- Size: 14.7 MB
- Stars: 27
- Watchers: 2
- Forks: 17
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `crossmint-sdk`
## You can check the full documentation at [docs.crossmint.com](https://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.
## Get Started
To get started and for full integration instructions visit [our documentation](https://docs.crossmint.com/).
## Migration guide to 0.1.X versions
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](https://docs.google.com/document/d/14IKpjrij7kU7Dr0I7rZkf0PyDNbXiklx2v4GuzUrFbw/edit?usp=sharing).
## Migration guide to 0.2.X versions
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](https://docs.google.com/document/d/1mA0W-iAs0nHHW0ANX0TfZ5qrzxPGxNchPj13W6cHc-Y/edit?usp=sharing).
## [Changelog](https://docs.google.com/document/d/e/2PACX-1vR5NzVS2msrCMZxlcfBgAT-Y8kAypeKqH_WBeNiwVTmyEzLZvJBWrKrz_966-d3jumwIBi94IXGT6Wp/pub)
---
## Build from Source
1. Clone the project:
```shell
git clone https://github.com/Crossmint/crossmint-sdk.git
```2. Install dependencies:
```shell
cd crossmint-sdk
pnpm install
```3. Build all packages:
```shell
pnpm build
```4. Run locally:
```shell
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
```## Publish
1. 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
2. Commit the generated `changeset` file to your PR
3. The `changeset-bot` will comment on your PR when it detects a new `changeset` has been added
4. Merge your PR, with the `changeset`, to `main`
5. A "Release packages" PR will be created/updated by the `changeset-bot`, detailing the pending updates
6. Merge the "Release packages" PR to main - the new packages will automatically be published on the NPM registry
7. Done!## (OLD) Publish (for the crossmint team)
```shell
pnpm build
pnpm test
pnpm run lerna version
pnpm build
pnpm run publish
```