Compete in Web3 coding challenges and win a $$$ prize
Tags: solidity, web3, blockchain, algorithms
Published: 2024-04-01 08:15:03

> Your goal in this challenge is to compute the largest prime factor of an arbitrary integer. For instance, the prime factors of 13195 are 5, 7, 13 and 29, and as such, the largest prime factor of 13195 is 29.

Some readers might recognize the above coding problem: it's the [third challenge](https://projecteuler.net/problem=3) on the [Project Euler](https://projecteuler.net/). A lot developers are capable of solving it with more or less efficient solutions: but what if you had to use a fairly esoteric programming language - such as [Solidity](https://agorapp.dev/ide/ethereum/solidity/introduction-to-solidity/01-contract-declaration) - in a far more constrained computational environment - the [EVM](https://ethereum.org/en/developers/docs/evm/)-?

**That's what we do at [Agorapp](https://agorapp.dev/)** - and [here's the coding challenge](https://agorapp.dev/ide/ethereum/solidity/largest-prime-factor/challenge) that requires you to implement prime factorization in Solidity.

Many users here are probably familiar with Leetcode or Hackerrank: **what if you could test yourself in similar algorithm and security challenges but in the context of smart contract development?**

And what if you could **win prizes** should you rank in the top 3 coders who crafted the most optimal solution?

**[Agorapp](https://agorapp.dev/) is the leading Web3 interactive coding environment and talent protocol**. On our platform, users can compete in gas optimization challenges where their only goal is to come up with the most efficient implementation possible. The reward? They win money - currently not a life-changing amount, but there are surprises on the horizon which will make the coding competition challenges far more compelling and **rewarding**.

In the context of the EVM, designing efficient implementations to an engineering problem is not just a whimsical desire - it's a necessity.
Efficient gas usage leads to lower transaction fees, which results in happier users and/or healthier DApps' economies. 


![Agorapp Web3 IDE](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qb1x97kmbjfpre8y7799.png)


At [Agorapp](https://agorapp.dev/) we're challenging developers to push the envelope of smart contract efficiency through our **Smart Contract Optimization Challenges**.

On our [blog](https://blog.agorapp.dev/blog/) you can see [some examples](https://blog.agorapp.dev/blog/efficient-sorter-competition) of the past winning solutions that have been awarded with the monetary pool prize.

So far, we have only released gas optimization challenges for Solidity/EVM developers. However, we support many more blockchain ecosystems and runtimes and we are about to **launch the first ever smart contract optimization challenges on non-EVM environments**!

![Agorapp Web3 smart contract challenge's leaderboard](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6rmre1cdzlvp3hybbpta.png)


**The job market outside the EVM ecosystem is growing** and the current demand outmatches the supply of developers: the vast majority of smart contract developer knows only Solidity. **[Agorapp](agorapp.dev) aims to be the gateway to learn cross-chain smart contract development**: Solana, [Near](https://agorapp.dev/course/introduction-to-nearjs), the [Internet Computer Protocol](https://agorapp.dev/tutorial/motoko-tutorial), TON etc., we plan to provide a smart interactive playground where developers can immediately get onboarded in any Web3 smart contract language or on-chain protocol.

In the near future, Agorapp will also provide **a talent marketplace where the best developers in our userbase will be matched with jobs, grants and bounties in the Web3 ecosystem**. Are you interested in working in web3? Then reach out to us on [Discord](https://discord.gg/SeXPtxfeha) or [Twitter](https://twitter.com/agorappDAO).

And what if you don't know any smart contract language? No worries, at Agorapp we provide [interactive dev courses on our online Web3 IDE](https://agorapp.dev/catalog). 
Check out our [Near developer course](https://agorapp.dev/course/introduction-to-nearjs), [Motoko smart contract developer](https://agorapp.dev/tutorial/motoko-tutorial) course and [Introduction to Solidity](https://agorapp.dev/course/introduction-to-solidity)! And if that's not enough, we have recently started delivering l[ive Web3 coding workshops](https://twitter.com/agorappDAO/status/1767594104081248464).

At the end of your learning journey on Agorapp, you'll be able to compete in smart contract optimization and security challenges - and you might be one of the next winners!


## Want to be the first to know when our next smart contract challenge will be released? Or when we'll deliver the next workshop? Then follow us!

Join the [Agorapp Discord](https://discord.gg/SeXPtxfeha) and communicate with the team or follow us on Telegram, [Twitter](https://twitter.com/agorappDAO) or [Linkedin](https://www.linkedin.com/company/agorappdao/).

## Personal contacts
And feel free to reach out personally to me on [Telegram](https://t.me/RiccardoBiosas) or [Twitter](https://twitter.com/rbiosas?lang=en)