Silicon's blog

Menu
  • Home
  • Kadena
  • Solana
  • Ethereum
  • Bot Automation
  • Proxmox
  • Nginx Proxy Manager
  • Others
  • Contact
Menu

Deploy your own decentralized exchange on Solana [8: Deploy your exchange on Solana mainnet]

Posted on January 10, 2023May 17, 2023 by Silicon
Sharing is Caring:
Twitter 0
Copy 0

As oyster swap is a dated project, I do not recommend you deploy it on the Solana Mainnet due to security reasons.

If you still want to deploy it on the Mainnet, here are some changes you may need to do:

Many NFT projects launched on Solana last year. It seems that the Solana Mainnet endpoints offered by Solana lab are changed to whitelist only. Your domain may not be able to submit a request to their endpoints. Therefore, you will need to change the Mainnet endpoints from https://solana-api.projectserum.com/ or https://api.mainnet-beta.solana.com to https://api.metaplex.solana.com/ Modify connection.tsx on src/utils/connection.tsx



  {
    name: "mainnet-beta" as ENV,
    endpoint: "https://api.metaplex.solana.com/",
  },

 

Optional: If you want to remove the “Swap is unaudited software. Use at your own risk.” banner, move to App.tsx and remove



  {
    name: "mainnet-beta" as ENV,
    endpoint: "https://api.metaplex.solana.com/",
  },

Leave a Reply Cancel reply


The reCAPTCHA verification period has expired. Please reload the page.

©2025 Silicon's blog
Click to Copy