We created our decentralized exchange in the previous article based on the cloned Kaddex swap project. This article will teach you how to deploy your exchange into the Cloudflare page.
Step 1: On your code editor’s terminal, execute the command below.
npm run build
Step 2: Create a Cloudflare account if you don’t have one. After that, go to the Cloudflare page section.
Step 3: Click the “Upload assets” button on the Direct Upload section. Enter your project name and upload the “build” folder generated in step 1.
Step 4: Hit the “Deploy site” button after uploading all the required files.
Step 5: If you have a custom domain in the active zone, you may go to the custom domains section and set up a custom domain.
You may now go to your DEX via Cloudflare assigned link or your custom domain. In my case, my DEX on Kadena devnet is
If I have spare time, I will also send a pull request to the kaddex swap GitHub project, helping them fix some minor issues.
If you think this article is helpful, you may visit my forked kaddex swap and give me a star. Also, feel free to leave a comment below. 🙂
You may also sponsor this website by sending some KDA to this address: k:e95a044488f4b6ced42ab9be0268ffe530e47401b24b8c29bfeba5942e5da275.