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 on the Project Euler. 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 - in a far more constrained computational environment - the EVM-?
That's what we do at Agorapp - and here's the coding 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 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.
At Agorapp we're challenging developers to push the envelope of smart contract efficiency through our Smart Contract Optimization Challenges.
On our blog you can see some examples 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!
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 aims to be the gateway to learn cross-chain smart contract development: Solana, Near, the Internet Computer Protocol, 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 or Twitter.
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.
Check out our Near developer course, Motoko smart contract developer course and Introduction to Solidity! And if that's not enough, we have recently started delivering live Web3 coding workshops.
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 and communicate with the team or follow us on Telegram, Twitter or Linkedin.
Personal contacts
And feel free to reach out personally to me on Telegram or Twitter
Top comments (0)