Songkeys

Songkeys

Hello. Songkeys here~ :D
twitter

Own a decentralized blog on the blockchain and IPFS in five minutes.

Read the English edition.

0. Preface#

It's 2023, are you still writing blogs? Is your blog content hosted on closed third-party platforms like Medium or WeChat Official Accounts, or is it a self-built open-source blog framework on GitHub?

Today, I want to nominate a blog solution that I consider to be the coolest, most symbolic of freedom, most futuristic, and full of endless possibilities - xLog.

xlog-diygod-home-page

(Image from DIYgod's xLog.)

It is an application product based on the Crossbell blockchain. The underlying technology framework includes Ethereum, InterPlanetary File System (IPFS), and smart contracts specifically designed for social content creation.

You may think that terms like blockchain, IPFS, and Web3 sound distant from ordinary users and are often associated with the scam-ridden "crypto world". However, in this field, speculators are only a noisy part, and we should see the people who are truly striving for the "Web3 ideal" and what they are doing. As a completely open-source social ecosystem product that focuses on user-controlled Web3 data, Crossbell blockchain and xLog are part of this movement.

The ecosystem has just been launched, and there is not enough information about it online. You can read these articles to learn more:

In short, your information is stored on the blockchain (which means it is secure and permanent); your privacy is protected; and the blockchain ecosystem makes social interaction full of endless possibilities.

But no matter how much we praise it, it's better to experience it for yourself. Even if you have never encountered Web3 before, this article is willing to guide you through the charm of xLog, and also serve as your first lesson in Web3.

(Disclosure: I am a member of the development and maintenance team of Crossbell and xLog. All of our work is open-source on GitHub.)

1. Prepare a Wallet#

A wallet is your identity credential in Web3. Don't be scared off by the word "wallet" - it represents your "assets", and in Web3, assets are not just "money", but more importantly, "data". We believe that data is priceless and needs a wallet to be properly safeguarded. So don't worry, Crossbell, where xLog is located, is completely free and is a blockchain project focused on "data assets".

How to manage a wallet? There are many software options available. There are also countless tutorials online. This article is not a comprehensive guide, so I will subjectively recommend the most widely used wallet - Metamask.

Metamask has browser extensions and mobile apps. We can download and install a browser extension from its official website.

xlog-metamask

After downloading and installing this wallet management software, please follow the software instructions to create your first wallet. I won't go into the details here, but if you get confused during the process, it must be a problem with their software...

2. Open xLog#

https://xlog.app/

Open the xLog website. Click "Connect" to connect your wallet.

xlog-connect

3. Claim $CSB#

After logging in, you will see a "Insufficient Balance" prompt in the top right corner of the webpage.

xlog-insufficient-balance

Just as activities in the real world require money, activities (transactions) on the blockchain require fees. The fee on the Crossbell blockchain is $CSB. You may wonder why Web2 websites don't require fees to operate. The answer is that your "data privacy" has already been used as an alternative fee without you realizing it.

The good news is that $CSB can currently be claimed for free. After clicking, we will be redirected to the Faucet page. You can think of the faucet as a "foundation that provides relief to users with insufficient balance". Currently, the faucet will give each new user 0.02 $CSB as a gift, and you can claim more after spending it.

Follow the instructions on the page, enter your address (you may need to send a tweet for verification), and claim $CSB.

xlog-claim-faucet

Congratulations, 0.02 CSB has been credited to your account!

4. Create a Site#

Let's go back to xlog and click "Dashboard".

xlog-enter-dashboard

Next, we will be redirected to a page where we can create a new site.

xlog-create-a-new-site

(Note: Subdomains cannot have the same name.)

Click the "Create" button, and after a few seconds, the Metamask browser extension will pop up a transaction box for confirmation. Yes, every activity on the blockchain exists in the form of a "transaction" and requires a small amount of $CSB that we just claimed as a fee. As shown in the image, this transaction will cost 0.000332 CSB.

xlog-confirm-create-new-site

Let's click the "Confirm" button.

After waiting for a few seconds, the page will be redirected to the dashboard. Click "Create a Post" to start writing your first blog post.

xlog-dashboard

After writing the article, click the "Publish" button to publish it. Then, Metamask will pop up a window asking you to pay a fee to complete the transaction.

xlog-publish

Click "Confirm", and your article will be successfully published. Congratulations, you have published a blog post on the blockchain!

At the end of each article, you can see the transaction hash and IPFS link of the article, as well as other Web3 information. It's really cool.

xlog-article-web3-info

5. Other Features: Browse, Interact with Articles, Follow Authors...#

Open your site and take a look! My site domain is: song.xlog.app. (You can also bind a custom domain on the Settings page.)

When browsing other people's articles, you can like, mint (turn the article into an NFT), and comment on each article.

xlog-interaction

You can even follow authors.

xlog-follow

After following, you can browse the subscribed feed on crossbell.io. (Future updates will include a notification system, RSS subscriptions, etc.)

6. Leave Anytime - Data in Your Control#

Many "pseudo" decentralized applications still tightly control your data, but in the Crossbell ecosystem, your data is truly in your hands.

In the settings page, click the "Export data" section, and you can export all user data with one click, including your blog posts, and even save them in well-formatted Markdown.

xlog-export-data

7. Conclusion#

Congratulations on settling down on the blockchain. Looking forward to your creations.

Feel free to join the Crossbell community and discuss with us!

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.