Fair Compensation for Smart Contracts (2024)

Charles Dray from Resonance Security continues to organize meetings between me and his company clients when he thinks there will be something interesting for us to discuss. And so last month I had a fascinating and constructive conversation with Max McKendrey from Archway about their blockchain with a difference that benefits smart contract deployers.

Yet another blockchain

Archway is a relatively new blockchain describing itself as “an incentivized L1 that allows developers to capture the value their dapps create, enabling sustainable economic models.

Normally I am skeptical about new blockchains — there are so many of them out there it is almost impossible to keep track of them all. Very few offer any significant advantage over the older and more established chains, mainly due to the network effect. This is the observation that the more users a system has, the more value it attracts, and the better the tooling and supporting software available for the chain will become.

And Archway has an extra problem for me, which is that it uses CosmWasm for smart contracts, and therefore requires you to know Rust. My previous dalliance with Rust ended in disaster — I’m a software prototyping kind of a programmer rather than one who codes for production. I write code for research purposes, testing, and to produce proof of concept systems to ensure my inventions are feasible and can be implemented.

Compilable strongly and statically typed languages focused on safe and fast memory management hold a very important place in the software industry, but I find them horrible and slow to work with.

So why am I saying that Archway is interesting to me, despite their clunky tagline[1] and incompatible smart contract language choice?

Archway solves a problem in the smart contract space that affects every smart contract developing organization.

How do you make money with smart contracts?

Most organizations are not in the business of providing DeFi services or protocols as a charitable service.

Coming up with a new invention in the DeFi space, coding it up, testing and auditing, and then launching it is not cheap. The smart contract developer has two main on-chain methods for monetizing their work:

  1. launch a token that is required to use the protocol, have a sale, hold back a significant proportion, and then make profits by selling more as the token price rises
  2. charge a commission for using the smart contract

The risk with the first approach is that the token may be classified as an unregistered security, and both the first and second approach are vulnerable to vampire attacks.

The other option is off-chain profits by using the reputation your protocol gives you to make money through consultancy and bespoke development.

What is a vampireattack?

A vampire attack is the name given to the practice of copying and deploying an existing DeFi protocol or smart contract service, but offering better rates or more rewards than the previously established and copied protocol, to entice users and investors away.

For smart contracts, trade secrets do not work on the blockchain. The compiled bytecode for the contract needs to be deployed, which means it can be decompiled, and what is worse, the source code probably needs to be provided to “verify” the contract, as no one wants to send vast sums of cryptocurrency to a mysterious contract that you can’t even read.

And so copying a DeFi protocol is usually fairly simple. The protocol maintainers often even provide the code and test suite in a public repository on, for example, Github.

This means that the copycat has no development costs, and can use the savings to undercut the commission charged on the original protocol or offer a larger proportion of the protocol token to investors and users.

The silver crosssolution

Is there a way to compensate smart contract deployers in a manner that:

  • keeps financial regulators, the tax office, and the contract developers happy, and as an added bonus,
  • provides an incentive to make contracts as efficient and affordable as possible?

Yes — hand some of the gas fees for processing transactions to the smart contract deployer or owner. It is that simple.

And that is exactly what Archway does. Tthe gas fees are split 50/50 between the developers and the validators.

You may wonder: if smart contract developers are getting a share of the gas fees incurred by calling their contracts, wouldn’t that incentive them to make the contracts as inefficient as possible?

As it happens, the converse is true. By making your contract as efficient as possible, you reduce or even remove the risk of a vampire attack. If there is no way to reduce the costs associated with a contract providing a particular service, then the means for such an attack are removed.

The Archway design also allows developers to specify a “premium” for their contract, which is a means of hiding a commission for using the contract within the blockchain protocol. However, doing so will run the risk of another party deploying the same contract without the commission and thus executing a vampire attack.

And finally, as with Ethereum, validators get to mint the underlying blockchain token for their validation services, but unlike Ethereum, a quarter of those tokens are distributed among dapp developers.

Conclusion

As I find is always the case with blockchain, whenever you think you’ve seen it all, someone comes up with something new. And sometimes that new think is surprisingly simple yet potentially highly effective.

What Archway has based their value proposition is a concept that I think should have been in Ethereum from the very beginning.

When you think about it, this makes sense. A smart contract blockchain is only as good as the smart contracts running on it. If it is just about transfering value, you might as well use Bitcoin. And yet pretty much all of the chains out there do not explicitly provide rewards to smart contract developers.

I may have a vested interest in saying this, being a bit of a smart contract developer myself, but the contracts you produce should get a share of the value the blockchain creates.

Obligatory disclaimers and disclosures

I am not a financial advisor, and none of the above should be taken as financial advice. I have no opinion on how the underlying Archway $ARCH token will perform, nor do I hold any, and I can make no attestations as to the likelihood of the project succeeding.

I just happen to like the tweak to the incentivization system it offers.

I am also not a beneficiary of the Archway blockchain system, and have not deployed any contracts on it, as you should have deduced from the fact that said contracts would be written in Rust, and I don’t code in Rust.

Sleep tight and don’t let the vampires bite!

Footnote

[1] try something shorter and snappier, like “the blockchain that rewards smart contract developers”

Fair Compensation for Smart Contracts (2024)

FAQs

Fair Compensation for Smart Contracts? ›

- Fair Compensation: Smart contracts can ensure that artists and creators are fairly compensated for their work, fostering trust and transparency within the industry. This can lead to better collaboration and innovation in the industry.

How much can you make from smart contracts? ›

The average Smart Contract salary (globally) is $123,371 per year. Salary estimates are based on anonymous submissions by Smart Contracts, website users just like you and collected from past and present job posts. Once your submission is reviewed by the community, you'll get access to all salary reports.

What is the profit of smart contracts? ›

The smart contract developer has two main on-chain methods for monetizing their work: launch a token that is required to use the protocol, have a sale, hold back a significant proportion, and then make profits by selling more as the token price rises. charge a commission for using the smart contract.

How much is smart contracts worth? ›

The market is projected to be worth USD 2.14 billion in 2024 and reach USD 12.55 billion by 2032, exhibiting a CAGR of 24.7% during the forecast period (2024-2032). A smart contract is a computer program that automatically performs contractual tasks without involving third parties.

What is the average salary of a smart contract developer? ›

Smart Contract Developer Salary - May 2024
PositionAvg Yearly SalaryMin Yearly Salary
Solidity Developer$130k$60k
React Developer$125k$60k
Javascript Developer$125k$60k
Smart Contract Developer$122k$60k
31 more rows

How much do Web3 auditors make? ›

The collapse of several cryptocurrency giants and numerous hacks in Web3 have increased the demand for smart contract auditors. Depending on various factors, these auditors can earn anywhere from $33K to $200K.

How much do smart contract auditors make in the US? ›

Entry-level smart contract auditors can expect to earn an average salary of around $70,000 annually, while experienced professionals with several years of experience can earn upwards of $200,000 annually.

What are the two drawbacks of smart contracts? ›

Disadvantages of Smart Contracts :-

The consumers are quite suspicious in nature because most of the people are not well acquainted with the Smart Contract Technology. It is resistant to the modification of the data. For example – If you want to buy a new car, then data already stored can't be changed so easily.

What is the biggest smart contract exploit? ›

Badger DAO: $120 Million

The Badger DAO yield vault protocol suffered an attack worth $120 million. The system was hacked with malicious contract permissions, resulting in a leak of 2,100 BTC and 151 ETH from the users' balances within just a few minutes.

Are smart contracts in demand? ›

The Global Smart Contracts On Blockchain Market is anticipated to rise at a considerable rate during the forecast period, between 2022 and 2031. In 2021, the market is growing at a steady rate and with the rising adoption of strategies by key players, the market is expected to rise over the projected horizon.

What is the best blockchain for smart contracts? ›

Ethereum is the world's first and one of the best smart contract platforms which remains the most popular choice among developers. Following Bitcoin's decentralized concept, Ethereum has become a leader in smart contract platforms. Since its inception in 2015, the platform has launched more than 4,400 dApps.

How much does it cost to launch a smart contract on ETH? ›

Smart contract creation cost can be anywhere from $10 to $2,000 assuming Ether costs between $1,500 to $2,000. The biggest factors are 1) Ethereum price, 2) the size of the compiled contract (in bytes), 3) the current gas price on the Ethereum network.

Are smart contracts legally binding? ›

But while a smart contract can be a legally binding agreement, it isn't necessarily always legally binding. A smart contract still has to meet all the legal requirements of a contract, such as intent to form a contract. And these legal requirements might also vary by jurisdiction.

How hard is it to write a smart contract? ›

Creating a smart contract may seem complex, but it's surprisingly straightforward. It's all about encoding an agreement, which then executes itself. This eliminates the need for intermediaries, providing a secure, transparent, and efficient method of carrying out transactions or agreements.

What is the hourly rate for a solidity developer? ›

How much does a Solidity Developer make? As of Apr 25, 2024, the average hourly pay for a Solidity Developer in the United States is $58.08 an hour.

Is creating a smart contract hard? ›

Unlike traditional software development, smart contracts require developers to have business knowledge and understand non-traditional programming languages, primarily Solidity. They also must comprehend formal methods of cryptography and networking.

How much do solidity developers make a year? ›

The average Solidity Developer salary (globally) is $94,659 per year. Salary estimates are based on anonymous submissions by Solidity Developers, website users just like you and collected from past and present job posts.

How long does it take to learn how do you make smart contracts? ›

If you have no experience, it may take you a few months to get comfortable with coding a simple smart contract. Developers with more experience might need just days or weeks. Once created, your smart contract can take anywhere from a handful of seconds to minutes to complete.

Is smart contract developer a good career? ›

Salary expectations for Smart Contract Developers vary depending on factors such as experience, location, and the complexity of the projects they work on. However, due to the high demand for skilled developers in the blockchain space, Smart Contract Developers can generally expect competitive salaries.

Top Articles
Latest Posts
Article information

Author: Foster Heidenreich CPA

Last Updated:

Views: 5479

Rating: 4.6 / 5 (76 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Foster Heidenreich CPA

Birthday: 1995-01-14

Address: 55021 Usha Garden, North Larisa, DE 19209

Phone: +6812240846623

Job: Corporate Healthcare Strategist

Hobby: Singing, Listening to music, Rafting, LARPing, Gardening, Quilting, Rappelling

Introduction: My name is Foster Heidenreich CPA, I am a delightful, quaint, glorious, quaint, faithful, enchanting, fine person who loves writing and wants to share my knowledge and understanding with you.