# How I Contributed One Line of Code to Ethereum

## **Introduction**

As a software engineer who has never contributed to [open-source](https://opensource.com/resources/what-open-source) before 2023, I've been looking for ways to contribute. Being passionate about [Web3](https://ethereum.org/en/web3/), I looked for interesting projects in this space. It was not hard to find one where I could contribute since Web3 is about **openness** and **decentralization**. Eventually, I found a project where I made my first [open-source contribution](https://dev.to/kshyun28/my-first-open-source-contribution-how-i-did-it-1jh6) which is [Taiko](https://taiko.xyz/), a [type 1 ZK-EVM](https://taiko.mirror.xyz/w7NSKDeKfJoEy0p89I9feixKfdK-20JgWF9HZzxfeBo).

After my first open-source contribution, I looked for other projects where I could contribute. One of those projects was [Ethereum](https://ethereum.org/en/), which is a blockchain network that enables [Decentralized Finance](https://ethereum.org/en/defi/), [tokenization of assets](https://ethereum.org/en/nft/), and an [open internet](https://ethereum.org/en/dapps/?category=technology). While reading through their contributing guidelines, I found an issue in their documentation and ended up fixing it, making my second open-source contribution.

In this article, I'll be sharing my journey on how I contributed exactly one line of code to one of Ethereum's open-source repositories, [Ethereum.org](https://opensource.com/resources/what-open-source).

## **Looking for ways to contribute to Ethereum**

Ethereum has a lot of open-source repositories on their [GitHub](https://github.com/ethereum).

Some notable repositories I was looking at were:

*   [Geth](https://github.com/ethereum/go-ethereum) - Official Go implementation of the Ethereum protocol.
    
*   [Solidity](https://github.com/ethereum/solidity) - Smart contract programming language.
    
*   [Remix](https://github.com/ethereum/remix-project) - Browser-based compiler and IDE for Ethereum smart contracts written with Solidity.
    
*   [Ethereum.org](https://opensource.com/resources/what-open-source) - Official website and online resource for the Ethereum community.
    

When choosing which repository I could contribute to, I had to consider my current skill sets.

Being proficient in [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript) and [TypeScript](https://www.typescriptlang.org/), Geth and Solidity are out of the question, since Geth requires knowledge of [Go](https://go.dev/), while Solidity requires knowing [C++](https://isocpp.org/).

Remix on the other hand is mostly written in [TypeScript](https://www.typescriptlang.org/), while [Ethereum.org](https://opensource.com/resources/what-open-source) uses [Markdown](https://www.markdownguide.org/). These are the Ethereum projects that I focused on contributing to.

## **Finding a bug on** [**Ethereum.org**](https://opensource.com/resources/what-open-source)**'s website**

After choosing [Ethereum.org](https://opensource.com/resources/what-open-source) as a potential repository where I could contribute, I reviewed their website's [contributing](https://ethereum.org/en/contributing/) section.

While browsing through the different [ways to contribute](https://ethereum.org/en/contributing/) to [Ethereum.org](https://opensource.com/resources/what-open-source), I saw their [translation program](https://ethereum.org/en/contributing/translation-program/) and checked if I could contribute by translating their documentation. As I was reading through the [translation program resources page](https://ethereum.org/en/contributing/translation-program/resources), I noticed a broken Discord link in the [Office hours for translators section](https://ethereum.org/en/contributing/translation-program/resources/#office-hours).

![Ethereum translation program resources: Office hours for translators](https://res.cloudinary.com/dlieqpdfd/image/upload/v1701007417/ethereum.org%20open-source/translation-program-resources_n8ta5d.png align="left")

The Discord link should redirect to [Ethereum.org](https://opensource.com/resources/what-open-source)['s Discord server](https://discord.com/invite/rZz26QWfCg). Instead, I got an `Invite Invalid` error message.

![Ethereum.org Discord "Invite Invalid" error](https://res.cloudinary.com/dlieqpdfd/image/upload/v1701007416/ethereum.org%20open-source/discord-invite-invalid_oj8nna.png align="left")

## **Reviewing** [**Ethereum.org**](https://opensource.com/resources/what-open-source)**'s open-source contribution guidelines**

Before proceeding to fix the invalid Discord invite link, I reviewed [Ethereum.org](https://opensource.com/resources/what-open-source)'s [CONTRIBUTING.md](https://opensource.com/resources/what-open-source) file to make sure I was following their open-source contributing guidelines.

The guide pointed to the contributing sections in [Ethereum.org](https://opensource.com/resources/what-open-source)'s [website](https://ethereum.org/en/contributing/) and [README.md](https://opensource.com/resources/what-open-source).

![Ethereum.org CONTRIBUTING.md](https://res.cloudinary.com/dlieqpdfd/image/upload/v1701007414/ethereum.org%20open-source/contributing-md_lfiwid.png align="left")

## **Creating an issue on** [**Ethereum.org**](https://opensource.com/resources/what-open-source)**'s GitHub repository**

After reviewing the contributing guidelines, I looked at existing [issues](https://github.com/ethereum/ethereum-org-website/issues) to see if someone else had already reported the **broken Discord invite link** on the **translation program resources page**.

Once I verified that no one else reported the issue, I created an [issue](https://github.com/ethereum/ethereum-org-website/issues/10530) on [Ethereum.org](https://opensource.com/resources/what-open-source)'s GitHub repository.

![Invalid Discord invite GitHub issue](https://res.cloudinary.com/dlieqpdfd/image/upload/v1701007416/ethereum.org%20open-source/github-issue_ug6lst.png align="left")

Creating an issue was easy since there are templates for different types of issues. In my case, I needed to create a **Bug report issue**.

![Creating a bug report issue on Ethereum.org's GitHub repository](https://res.cloudinary.com/dlieqpdfd/image/upload/v1701007415/ethereum.org%20open-source/create-issue-1_fz7yyf.png align="left")

![Creating a bug report issue using a template](https://res.cloudinary.com/dlieqpdfd/image/upload/v1701007415/ethereum.org%20open-source/create-issue-2_joxdyu.png align="left")

## **Forking** [**Ethereum.org**](https://opensource.com/resources/what-open-source)**'s repository and testing the fix**

After creating the issue, I [forked](https://github.com/kshyun28/ethereum-org-website) [Ethereum.org](https://opensource.com/resources/what-open-source)['s GitHub repository](https://github.com/kshyun28/ethereum-org-website) and followed their [local environment setup guide](https://github.com/ethereum/ethereum-org-website#3-set-up-your-local-environment-optional). Once I've set up my local environment, I started working on the fix.

The fix was easy since I only needed to replace the Discord invite link with a working one.

![Commit that fixes the invalid Ethereum.org Discord invite link](https://res.cloudinary.com/dlieqpdfd/image/upload/v1701007413/ethereum.org%20open-source/code-commit_kpepwf.png align="left")

I tested the fix locally to verify that the translation page is still working and that my commit fixed the issue.

## **Creating a pull request on** [**Ethereum.org**](https://opensource.com/resources/what-open-source)**'s GitHub repository**

After verifying that my commit fixed the [issue](https://github.com/ethereum/ethereum-org-website/issues/10530), I created a [pull request](https://github.com/ethereum/ethereum-org-website/pull/10531) to [Ethereum.org](https://opensource.com/resources/what-open-source)'s repository with the fix for the invalid Discord invite link.

![Pull request with the fix for the invalid Ethereum.org Discord invite link](https://res.cloudinary.com/dlieqpdfd/image/upload/v1701007417/ethereum.org%20open-source/pull-request_yems8s.png align="left")

## **Pull request reviewed and merged!**

After creating the pull request, I waited for the code owners and maintainers to review the pull request.

A few days later, [corwintines](https://github.com/corwintines) reviewed my [pull request](https://github.com/ethereum/ethereum-org-website/pull/10531). In his code review, he gave valuable feedback and updated my code changes by replacing the Discord invite link with the official [Ethereum.org](https://opensource.com/resources/what-open-source) Discord invite link.

![Code owner reviews the pull request](https://res.cloudinary.com/dlieqpdfd/image/upload/v1701007414/ethereum.org%20open-source/code-review_jvmmxp.png align="left")

Then, he approved and merged my pull request. He also thanked me for my contribution, which left a warm feeling even though I only contributed one line of code (less than that if you consider that he updated my code changes).

![Approving and merging the pull request](https://res.cloudinary.com/dlieqpdfd/image/upload/v1701007413/ethereum.org%20open-source/approve-and-merge-pr_f5gupb.png align="left")

After the pull request was merged, I also got a [GitPOAP](https://www.gitpoap.io/), as recognition for my contribution to [Ethereum.org](https://opensource.com/resources/what-open-source) in 2023.

![Ethereum.org GitPOAP](https://res.cloudinary.com/dlieqpdfd/image/upload/v1701007416/ethereum.org%20open-source/gitpoap_abl710.png align="left")

## **Conclusion**

In this journey, I've learned that it is possible to make small contributions to large projects such as Ethereum. The beauty of open-source is that anyone can make changes, **no matter how small**. In fact, the majority of open-source contributions fix small issues like the one I encountered. These small changes are also easier for the open-source maintainers to review.

As the scouts' saying goes, "Always leave the campground cleaner than you found it". For us open-source contributors and software engineers, we should also leave the codebase **better than we first saw it**. That means if you see a mistake on an open-source documentation, you can suggest a fix to the maintainers.

If you're looking to make open-source contributions yourself, I hope my story has inspired you to do the same.

Thank you for reading and if you have any questions or feedback, feel free to comment or connect with me [here](https://linktr.ee/jdg2896).
