The Synthetix ecosystem has been progressively moving towards reliance on ENS/IPFS over DNS/HTTP for web hosting. For example, Kwenta is available via eth.limo at kwenta.eth.limo, and you can access it directly in Brave at kwenta.eth. Synthetix’s Core Contributors are also using IPFS to store and share protocol deployment data using Cannon.
The Synthetix ecosystem has created an IPFS Cluster to coordinate pinning these files.
You can support greater decentralization, reliability, performance, and censorship-resistance by running an IPFS node that follows the cluster. When using a pinned front-end, it will also load faster (as you’ll have the latest version available locally).
Anyone with a computer and an internet connection can join the swarm. It’s fine if you don’t have 100% uptime.
If you are involved in the Synthetix ecosystem and interested in pinning web apps (or any other data) in the cluster, start a discussion in the #dev-portal channel in the Synthetix Discord server. Also, check out the ipfs-deploy repository.
The scripts below will install IPFS and IPFS Cluster. The scripts will also configure IPFS to run in the background when you start your computer, automatically pinning the files in the Synthetix Ecosystem IPFS Cluster.
Run this command to use the install-macos.sh script:
curl https://synthetixio.github.io/ipfs-follower/install-macos.sh | bash
This can be uninstalled using uninstall-macos.sh:
curl https://synthetixio.github.io/ipfs-follower/uninstall-macos.sh | bash
If you would prefer to install manually, follow these instructions.
To build and run a Docker container, use the following commands:
docker build -t synthetix-ipfs docker
docker run -d -p 8080:8080 -p 5001:5001 -p 9094:9094 synthetix-ipfs
Run this command to use the install-debian.sh script:
curl https://synthetixio.github.io/ipfs-follower/install-debian.sh | bash
This can be uninstalled using uninstall-debian.sh:
curl https://synthetixio.github.io/ipfs-follower/uninstall-debian.sh | bash
Coming soon.