Economics of the Quantstamp Security Network

July 11, 2019
Quantstamp Labs

This post will explain the economics of the  Quantstamp Security Network which allow trustworthy scan results to be achieved with a decentralized network. The two major influences to the economics of the Quantstamp Security Network are the price floor, and supply and demand.

The Price Floor

If a user wants to scan a smart contract, the network sets a minimum price of 1000 QSP. Any scan offered below this threshold will automatically be rejected by the network. Users can choose to offer to pay more than 1000 QSP for a scan, and we will explain why they might do that later in this post. 

Comparing to the Economics of an Ethereum Base Transaction

The number of pending transactions on Ethereum impacts gas prices. Similar economics influence the price of Quantstamp Security Network scans. source: https://etherscan.io/chart/pendingtx

Aside from the minimum price floor, the economics of the Quantstamp Security Network is similar to how gas prices work on other decentralized networks like Ethereum. When you pay for an Ethereum transaction directly on the blockchain level, you are making a bid to miners to include your transaction in a block with limited capacity. Only so much data can be stored in each block. 

When there is not enough space to include all pending transactions in the next block, miners prioritize transactions that pay more per unit of data because it increases their profit. Consequently, Ethereum users can increase the likelihood of including their transaction in the next block by paying a higher gas price. 

Economics of the Quantstamp Security Network

After 1000 QSP, the price is controlled by the user. Like an Ethereum transaction, users can choose to increase the amount they are willing to pay for a scan. If the demand for Quantstamp Security Network scans is high, users can increase the amount of QSP they are offering to pay in order to get their transactions processed by Quantstamp Security Network node operators before other users. 

Although users control the price they are willing to pay, the Quantstamp Security Network prioritizes their transaction depending on availability and demand. Node operators prioritize higher paying scan requests first. Also, although 1000 QSP is the current price floor, individual nodes can set a personal price floor above 1000 QSP. 

Also, in order for someone to be eligible to run a Quantstamp Security Network node, they are required to stake 50,000 QSP. This mechanism helps to ensure that node operators are good actors. Currently, node operators are not slashed for malicious behavior. This may change in the future. 


What does this mean for node operators and scan requestors?

When demand for scans is low, users can offer to pay close to the price floor (1000 QSP) and expect their scan to get completed fairly quickly. When demand for scans is high, if they want their scans processed quickly, they should increase the amount they are willing to pay.

For node operators, they only get paid when their node processes a scan. The more scans that a node processes, the more QSP they will earn depending on the amount of QSP scan requestors offer to pay. 

As a decentralized network, the Quanstamp Security Network does not have centralized actors controlling the behavior on the network. Instead, economic incentives drive beneficial behavior from decentralized actors, creating trustworthy results.


Quantstamp Labs
July 11, 2019

This post will explain the economics of the  Quantstamp Security Network which allow trustworthy scan results to be achieved with a decentralized network. The two major influences to the economics of the Quantstamp Security Network are the price floor, and supply and demand.

The Price Floor

If a user wants to scan a smart contract, the network sets a minimum price of 1000 QSP. Any scan offered below this threshold will automatically be rejected by the network. Users can choose to offer to pay more than 1000 QSP for a scan, and we will explain why they might do that later in this post. 

Comparing to the Economics of an Ethereum Base Transaction

The number of pending transactions on Ethereum impacts gas prices. Similar economics influence the price of Quantstamp Security Network scans. source: https://etherscan.io/chart/pendingtx

Aside from the minimum price floor, the economics of the Quantstamp Security Network is similar to how gas prices work on other decentralized networks like Ethereum. When you pay for an Ethereum transaction directly on the blockchain level, you are making a bid to miners to include your transaction in a block with limited capacity. Only so much data can be stored in each block. 

When there is not enough space to include all pending transactions in the next block, miners prioritize transactions that pay more per unit of data because it increases their profit. Consequently, Ethereum users can increase the likelihood of including their transaction in the next block by paying a higher gas price. 

Economics of the Quantstamp Security Network

After 1000 QSP, the price is controlled by the user. Like an Ethereum transaction, users can choose to increase the amount they are willing to pay for a scan. If the demand for Quantstamp Security Network scans is high, users can increase the amount of QSP they are offering to pay in order to get their transactions processed by Quantstamp Security Network node operators before other users. 

Although users control the price they are willing to pay, the Quantstamp Security Network prioritizes their transaction depending on availability and demand. Node operators prioritize higher paying scan requests first. Also, although 1000 QSP is the current price floor, individual nodes can set a personal price floor above 1000 QSP. 

Also, in order for someone to be eligible to run a Quantstamp Security Network node, they are required to stake 50,000 QSP. This mechanism helps to ensure that node operators are good actors. Currently, node operators are not slashed for malicious behavior. This may change in the future. 


What does this mean for node operators and scan requestors?

When demand for scans is low, users can offer to pay close to the price floor (1000 QSP) and expect their scan to get completed fairly quickly. When demand for scans is high, if they want their scans processed quickly, they should increase the amount they are willing to pay.

For node operators, they only get paid when their node processes a scan. The more scans that a node processes, the more QSP they will earn depending on the amount of QSP scan requestors offer to pay. 

As a decentralized network, the Quanstamp Security Network does not have centralized actors controlling the behavior on the network. Instead, economic incentives drive beneficial behavior from decentralized actors, creating trustworthy results.


Does your smart contract have a re-entrancy bug? 🐛
Scan now!
Does your smart contract have a re-entrancy bug? 🐛
Scan now!
Quantstamp Announcements

Will EIP-7702 Affect Your Code?

The upcoming EVM hardfork, Pectra, amongst other changes, will implement EIP-7702, a proposal introducing a new transaction type that allows Externally Owned Accounts (EOAs) to delegate—and later undelegate—their behavior to smart contracts. While this upgrade enhances flexibility, it also disrupts long-standing security assumptions in many deployed contracts. With the risk that malicious actors may exploit these changes once Pectra is enabled, it is crucial to assess whether your codebase might be negatively impacted.

Read more
Quantstamp Announcements

When AI Meets Blockchain: A Guide to Securing the Next Frontier

In recent months, AI agents have attracted significant attention by the promise of assisting users and automating complex processes across diverse applications. The rapid performance improvements of Large Language Models (LLMs) in natural language processing (NLP) tasks drive this trend. However, as the capabilities and reach of these agents expand, so do the risks. The rapid pace of development, combined with the intricacies of integrating LLMs into real-world infrastructures—especially in dynamic fields like blockchain—has created an urgent need to scrutinize them for security, compliance, and operational integrity.

Read more
Quantstamp Announcements

Monthly Hacks Roundup: April 2024

April was a hectic month for the web3 security landscape, including significant rug pulls and security hacks totaling over $103 million in losses. Read on as we dive into three major security incidents and some of the trends from last month.

Read more