{
"title": "Have a Decentralized Blog on Blockchain and IPFS in 5 Minutes",
"tags": [
"post"
],
"summary": "tl;dr: go check xlog.app",
"sources": [
"xlog"
],
"external_urls": [
"https://song.xlog.app/5m"
],
"date_published": "2022-10-14T15:50:00.000Z",
"content": "> 阅读[中文版本(Chinese Edition)](https://song.xlog.app/5m-zh)。\n\n### 0. Preface\n\nIt's 2023, are you still blogging? Is your blog content carrier a closed third-party platform like medium and dev.to, or a self-built open source blog framework on GitHub Pages?\n\nToday, I would like to nominate one of **the coolest, most liberating, most futuristic, and most limitless** blogging solutions in my mind - [xLog](https://xlog.app/).\n\n![xlog-rss3-home-page](ipfs://bafybeiae64zvxngqpqsscvp5kdan6mrgu5oxouvsrs7wy6naqkggqdi3f4)\n\n(The picture shows [RSS3's xLog](https://rss3.xlog.app/).)\n\nIt is an application product based on the [Crossbell](https://crossbell.io/) blockchain. The underlying technical framework includes [Ethereum](https://ethereum.org/en/), [InterPlanetary File System](https://ipfs.tech/), [smart contracts for social](https://en.wikipedia.org/wiki/Smart_contract), etc.\n\nSome may say, **blockchain**, **IPFS**, **Web3**, these words sound far away from our ordinary users, and even often equated with the \"digital currency scammers\". But in reality, speculators are only the hustle and bustle part in this space, and we should see those who are really fighting for the \"ideal Web3\". As **completely open source** and focusing on **Web3 data controlled by users** social ecological products, Crossbell blockchain and xLog are one of them.\n\nThis ecosystem has just launched at the moment and there is not enough content on the web to introduce it. You can read these articles to learn about them:\n\n- [The First On-Chain and Open-Source Blogging platform - xLog](https://xlog.xlog.app/xlog) introducing xLog.\n- [Here Comes crossbell.io - crossbell-blog](https://crossbell-blog.xlog.app/32168-1) Introducing Crossbell.io, a Web3 social product focusing on \"Own Your Data\".\n\nSimply put, your information is stored on the blockchain (meaning secure and permanent); your privacy is protected; and the ecosystem of the chain makes social interaction as full as possible.\n\nBut it's better to brag about it than to actually experience it. Even if the reader has never been exposed to Web3, this article will take you from scratch to experience xLog and serve as your first lesson in Web3.\n\n*(Declaration of interest: I am part of the Crossbell and xLog development and maintenance team. All of our work is open sourced on [GitHub](https://github.com/Crossbell-Box))*\n\n### 1. Prepare a Wallet\n\n**Wallet is your identity credentials at Web3**. Don't be put off by the word 'money' - it stands for your 'assets', and assets in Web3 means more than just 'money', it means 'data'. We believe that **data** is priceless and needs a wallet to keep it safe. So don't worry, Crossbell, where xLog is based, is **completely free** and is a blockchain project **focused on 'data assets'**.\n\nHow do I keep and manage my wallet? There is a lot of software available. The internet is also flooded with tutorials. This article is not a starter book, so I'll be very subjective and recommend one of the most used wallets - **Metamask**.\n\nMetamask has a browser extension. We just go to its [official website](https://metamask.io/) to download and install it.\n\n![xlog-metamask](ipfs://bafybeihzz6rrt2l5ey4kpzhi3geoaoj4m4fse75p6pyylqbtogugaukicm)\n\nOnce you have downloaded and installed this wallet management software, please **follow the software guidelines** and create your first wallet. I won't go over the process here, if you get confused during the process, it must be their issue...\n\n### 2. Open xLog\n\n<https://xlog.app/>\n\nOpen the xLog website. Click Connect to connect to your wallet.\n\n![xlog-connect-en](ipfs://bafybeigknmsdermaopjmjbidzv5vdqxfcizkykigk25uxvbfk7v7vsuq44)\n\n### 3. Get Some $CSB\n\nAfter logging in, you will find an \"**insufficient $CSB**\" message in the top right corner of the page.\n\n![xlog-insufficient-balance](ipfs://bafkreicjmnnliw4kbztrjy3qjbpuucll3geq3gan7bmahwmys4lcl5swcy)\n\nJust as money is required for activities in reality, **a fee is required for activities (transactions) on the blockchain**. the fee for the Crossbell blockchain is $CSB. you may be wondering why Web2 sites don't require a fee to be active? The answer is that your \"data privacy\" is inadvertently already being traded as an alternative fee.\n\nThe good news is that **$CSB** is currently available for a small amount for free. After clicking, we jump to the [Faucet](https://faucet.crossbell.io/) page. You can think of the faucet as \"a foundation for users with insufficient balances\". At present, the faucet will give each new user a gift of $0.02 CSB, which can be reclaimed after running out of balance.\n\nWe follow the instruction on the page and enter the address, (you may need to send a tweet to verify), to receive some $CSB.\n\n![xlog-claim-faucet](ipfs://bafkreiewkddjof3mkxtbn2iknubrv7d4gsgjw6dsbwdsxbaahnrbsfppam)\n\nCongratulations! 0.02 CSB has arrived!\n\n### 4. Create a Site\n\nWe then go back to xlog, and click \"dashboard\".\n\n![xlog-enter-dashboard](ipfs://bafkreienju56owdzmj7f3obbd6mzjjesvobeq23j62mzzvuqhmtwdlb6w4)\n\nNext, it will jump to a page that will allow us to create a new site.\n\n![xlog-create-a-new-site](ipfs://bafkreih3k3vyjghphzp5ewqe6scqegkv472n24fszmw2vdjzcxq7klnqvu)\n\n(Note that \"subdomain\" is unique globally.)\n\nClick the Create button, wait a few more seconds, and **the Metamask browser extension will pop up a transaction window asking for confirmation**. Yes, each on-chain activity is in the form of a \"transaction\" that costs a small amount of the $CSB we just received as a processing fee. As you can see, this transaction will cost 0.000332 CSB.\n\n![xlog-confirm-create-new-site](ipfs://bafybeiamnkpcn73aae3tpc7i7lq3yhr77teeazs7fsymrw65eci2njp5aq)\n\nLet's click the Confirm button.\n\nAfter about a few seconds of waiting, the page will jump to the dashboard page. We'll click **Create a Post** and we'll be ready to write our first blog post.\n\n![xlog-dashboard](ipfs://bafkreiequsycmm3yyfqkvn2hkilvmzxxlm4jiemxtpqfhmyjg6vk7kqhh4)\n\nOnce you have written your article, click the **Publish** button to publish it. Then, Metamask will pop up again asking for a fee to complete this transaction.\n\n![xlog-publish](ipfs://bafkreianj6x42pg2aeqyow6ilpkpeltly6skdu2hlij6rwltlp4mknutd4)\n\nClick \"Confirm\" and our post will be published successfully. **Congratulations, you've published a blog post on the blockchain**!\n\nAt the end of each post, you can see the **transaction hash**, **IPFS link**, and other Web3 information for that post. It's just so cool.\n\n![xlog-article-web3-info](ipfs://bafkreiallfyczmsjnuz23zzscmyp6snlpu7rwzol5jjpkh6s3jtciw4nja)\n\n### 5. Other Features: Browse, Interact with Posts, Follow authors ......\n\nOpen your site to play with! Mine is: [song.xlog.app](https://song.xlog.app/). (You can also bind your custom domain in [settings](https://xlog.app/dashboard/song/settings/domains).)\n\nWhen browsing other people's posts, you can give the author **LIKE**, **MINT** (cast the post as an NFT), **COMMENTS** under each post.\n\n![xlog-interaction-en](ipfs://bafkreids47hyvreuem2ecy3hdkvwivlyk255aii2u747i5yfumi3bbtwvy)\n\nYou can even **follow the author**.\n\n![xlog-follow-en](ipfs://bafkreiawyewqefcivfimnn2dxjmrvltj6fp4pz63qyqztmx32prbqb4xh4)\n\nAfter following, you can view subscribed feeds on [crossbell.io](https://crossbell.io/) . (Notification system, RSS feeds, etc. will be supported in the future.)\n\n### 6. Leave at Any Time - Data Under Your Control\n\nMany 'pseudo' decentralized apps still have a firm grip on your data, but in the Crossbell ecosystem, **your data is truly in your hands**.\n\nOn the settings page, click on the \"Export data\" tab and you will be able to **export all your user data** in just one click, including your blog posts of course, even well saved in Markdown format.\n\n![xlog-export-data](ipfs://bafkreihp37ksmxijtjzgr5orwc7aliiloxmj2fmdxeadmhb2fwnzmcfg7i)\n\n### 7. Epilogue\n\n**Congratulations on making your home on the blockchain**. Looking forward to your creations.\n\nFeel free to also join the Crossbell community and talk with us!\n\n- Discord: [https://discord.gg/4GCwDsruyj](https://discord.gg/4GCwDsruyj)\n - In Discord we talk about whatever we want. In addition, the xLog channel hosts occasional **prize creation events**. The ongoing one is \"What is your ideal future Internet/Web3 in five years?\".\n- Twitter: [https://twitter.com/_Crossbell](https://twitter.com/_Crossbell)\n - Some exciting new features and plans will be released to the public on Twitter.\n- GitHub: [https://github.com/orgs/Crossbell-Box/discussions](https://github.com/orgs/Crossbell-Box/discussions)\n - GitHub Discussions is where our engineers and users work together to discuss and make decisions on technical solutions.\n",
"attributes": [
{
"value": "5m",
"trait_type": "xlog_slug"
}
]
}