New Ethereum talks, every Monday. The week's conference uploads by event, in your inbox.

Loading player…

How To Publish A Website On Swarm

SwarmMon, Oct 9, 2023, 12:00 AM

🐝 Now it's your turn! 🐝 Download Swarm Desktop here πŸ‘‰ https://www.ethswarm.org/build/desktop useful links πŸ”— https://docs.ethswarm.org/docs/develop/access-the-swarm/keep-your-data-alive/ https://docs.ethswarm.org/docs/learn/tokens#xdai If you prefer the blogpost over the video tutorial, please visit πŸ‘‰https://blog.ethswarm.org/foundation/2023/how-to-publish-a-website-on-swarm-using-the-swarm-desktop-app-a-step-by-step-guide/ Content guide: 0:00 Introduction 0:16 Install Swarm Desktop App and Fund Your Account 1:46 Publishing Your Website on Swarm 2:18 Connecting an ENS Domain to Your Website 3:17 Update the Website: Set up and update a feed 4:26 Top up the batch 4:47 Thank you for watching! Join our discord channel! πŸ‘‰ https://discord.com/invite/hyCr9BMX9U

Transcript

how to publish a website on Swarm a step-by-step guide this guide shows you how to host a censorship resistant website on swarm's decentralized storage and how to connect it to an ens domain to make it easily accessible for users first download and install the Swarm desktop app next add xdi which is used for transaction fees to your node wallet address if you have xbz which is used for storage fees you can deposit it alongside the X die otherwise you can exchange your X die for xbz using the Swarm desktop app follow these steps to deposit funds launch the Swarm desktop app and go to the account section in the left menu transfer xdi to your node wallet address 5 to 10 X die is enough after funding your wallet click the top up wallet button on the right side of the screen select the use X die option verify your xdi balance and click proceed specify the amount of xdi to be converted to xbz and click swap now your node wallet address will be credited with xbdz your node address is now funded with xdi and xbz however to download data from swarm which exceeds the free limits set by other nodes you will need to transfer your funds to the checkbook contract address follow these steps go to the account section in the left menu select the checkbook tab in the top menu click the deposit button specify the amount of XP to deposit into your checkbook to be used to pay for downloading from swarm to publish your website on Swarm follow these steps navigate to the files tab click the add website button select your website folder note that the index.html file should be in the root folder purchase a postage stamp to publish your page note that postage stamps cover storage costs for a limited time only and need to be topped up in order to keep the data on Swarm upload the website files how to connect an ens domain to your website associating your ens domain with a swarm hash allows for your website to be accessed through a memorable domain name rather than the lengthy complex swarm hash itself initially you'll need to register your domain name to register and manage your ens domain you can use the ens domains dap along with a metamask browser extension after registering your name and connecting metamask to the relevant ethereum account set the resolver to use the Public ENS if you haven't already select the name you want to link to your swarm content click on ADD edit record from the add record drop down menu select content enter your swim hash beginning with the Bzz colon forward slash forward slash and click save your website is now available on the specified domain update the website set up and update a feed swarm feeds allow you to easily create a permanent address for your content stored on Swarm so that you can update it at any time if you plan to update your website in the future it's recommended that you set up a feed before uploading your website to swarm this way the Swarm hash connected to your ens domain will stay the same even as you change the content behind that hash this will enable you to update your website's content without changing the Swarm hash and incurring ethereum transaction costs each time you do so navigate to account click on feeds in the top menu click on create new feed Define identity name and click create feed upload website on Swarm and connect it to the feed choose the feed you want to update click view feed page click the add website button select your website folder note that the index.html file should be in the root folder add postage stamp to publisher page note postage stamps cover storage costs for a limited time and need to be topped up in order to keep the data on Swarm upload the website upload the website to swarm connect feed hash to ens domain as described before in conclusion this step-by-step guide has provided you with a comprehensive understanding of how to publish and update a website on the Swarm network using the Swarm desktop app by following these instructions you can now leverage the benefits of decentralized storage maintain a censorship resistant website and make the website accessible in a user-friendly Way by connecting your site to an ens domain thanks for watching

Automatic transcript β€” names and jargon may be misspelled.