An Onchain Commerce Template built with OnchainKit, and ready to be deployed to Vercel.
.env
file using .local.env.example
as a reference.
You can find the API key on the Coinbase Developer Portal’s OnchainKit page. If you don’t have an account, you will need to create one.
You can find your Coinbase Commerce API key on Coinbase Commerce. If you don’t have an account, you will need to create one.
OnchainStoreCart.tsx
component, along with the imports at the top of the file.
You can also remove the OnchainStoreModal
component and logic as well as the MockCheckoutButton
as these were created for demo purposes only.
Next, you’ll want to replace products
in the OnchainStoreProvider
with your own product items.
After these changes, the actual OnchainKit checkout flow will be functional in your local environment.