Перейти к основному содержанию

Руководство разработчика


Autonomys is a secure, scalable, decentralized blockchain that resolves the blockchain trilemma without making compromises. This guide will cover some of the main aspects of Autonomys, if you’re willing to learn more about the technology behind Autonomys it’s better to refer to the Whitepaper - Full-Length or Whitepaper - Summarized

What makes the Subspace protocol different?


The Autonomys Network is an instance of the Subspace Protocol. Многие новые блокчейны, разработанные, чтобы стать более эффективными и децентрализованными, используют систему Proof-Capacity (PoC). В этой системе приоритет отдается фармингу, требующему большого объема памяти, а не майнингу, требующему больших вычислительных ресурсов. Однако это порождает проблему, известную как дилемма фармера, где пользователи должны решать, выделять ли их ограниченный объем памяти для поддержания состояния и истории блокчейна, или же использовать этот объем для консенсуса. Это может привести к централизации фарминга среди нескольких доверенных операторов. Subspace, a novel Proof-of-Archival-Storage (PoAS) blockchain protocol, resolves this issue by allowing farmers to store the blockchain's history collectively, separating the processes of consensus and computation. Это приводит к уменьшению накладных расходов и облегчает участие обычных пользователей, даже в сложных моделях.

Раздельное исполнение позволяет фармингу быть легким и устойчивым к объединению, а сеть фарминговых хранилищ позволяет блокчейну значительно увеличиваться, не становясь централизованным.

Intro-1

Что такое Proof-of-Archival-Storage?


В Subspace мы реализуем Proof-of-Archival-Storage на основе следующего:

  • Протокол консенсуса Nakamoto (или longest-chain)
  • Использование доказательство-объема proof-of-capacity для выявления Sybil
  • Место или объем отражает некоторое полезное хранилище (как в "Proof-of-Replication")
  • And the specific data being replicated is the archival history of the Autonomys Network chain

В своей простейшей форме наш Proof-of-Archival-Storage консенсус является трехступенчатым протоколом:

  • Архивация фазы: дали новые блоки цепи, построили каноническую историю.
  • Щелкающая фаза: учитывая каноническую историю блокчейна, создайте уникальную реплику (диаграмму) и храните ее на диске.
  • Консенсус фаза: испытание надежного радиобуя случайности, аудит участка для решения, которое удовлетворяет некоторый порог, возвращает доказательства и предлагает блок.

If you’re curious to read more about our consensus, here is a great overview written by one of our researchers, Dariia Porechna.

A few words about Subspace's consensus protocol Dilithium


As we transition to our Dilithium v2 consensus, we've recognized the essential role polynomial schemes will play in the next era of blockchain design, just as hash functions, Merkle trees, and ECC signatures did in the previous decade. Subspace protocol is distinctively equipped to utilize these schemes effectively due to our proof-of-archival-storage (PoAS) consensus, which enables a self-regulating feedback loop for storage costs, helping us scale with demand. This enables us to leverage polynomial schemes for linear blockspace scaling proportional to the number of network participants. We specifically employ Reed-Solomon erasure coding and Kate-Zaverucha-Goldberg (KZG) commitments in our v2 consensus, allowing efficient data recovery and authentication.

When archiving the history of Autonomys Network, Subspace protocol replaces Merkle roots with KZG commitments. Farmers can then provide constant-sized Kate proofs to clients of the Distributed Storage Network (DSN) as the witness for their pledged archival storage space. We construct generic proofs-of-replication (PoR) from RS-KZG schemes and extend these into an extremely simple and efficient proof-of-archival-storage (PoAS).

Is it difficult to build applications on Autonomys Network?


Our primary objective is to maintain a minimum barrier to entry for both our farmers and developers. The installation of an Autonomys Network node can be accomplished in less than 15 minutes and is compatible with an extensive array of computer systems given the highly accessible minimum requirements for the hardware.

When it comes to development on the Autonomys Network, we offer a range of flexible options. At present, you can make use of our multiple Ethereum Virtual Machine (EVM) domains for a familiar experience. Soon, we will also provide the functionality for you to build your own local custom virtual machine if that's your preference. We take pride in the unlimited possibilities we provide - there are no boundaries!