A boilerplate for building marketplaces with Sequence.
-
Set up a white-label marketplace in Sequence Builder following the Sequence Marketplace documentation.
-
Create an
.env
file by copying the example file:
pnpm env-file
- Configure the following environment variables in your
.env
file:
# API key from Builder > Settings > API keys
# https://sequence.build/project/{PROJECT_ID}/settings/apikeys
NEXT_PUBLIC_ACCESS_KEY=""
# Project ID from Builder, found in the URL of the project
# e.g. https://sequence.build/project/{PROJECT_ID}
NEXT_PUBLIC_PROJECT_ID=""
# Optional WalletConnect project id, for integration with WalletConnect
NEXT_PUBLIC_WALLETCONNECT_ID=""
Install dependencies:
pnpm install
Run the development server:
pnpm dev
The application will be available at http://localhost:4444
Build the application:
pnpm build
Start the production server:
pnpm start