Zum Inhalt springen
Solana ist ein öffentliches Netzwerk von Computern, den Validatoren, die alle dieselbe Kopie eines gemeinsamen Registers führen. Das Register besteht aus Konten: Einige enthalten Daten, etwa Token-Guthaben, andere enthalten Code, sogenannte Programme, den das Netzwerk ausführt. Apps und Wallets nehmen Änderungen vor, indem sie Transaktionen an das Netzwerk senden, die in der Regel in weniger als einer Sekunde abgeschlossen sind und nur den Bruchteil eines Cents kosten.
Layers, top to bottom. The Solana network: validators that each keep the same accounts, where some accounts hold programs (your program, the Token Program) and others hold state (token balances, your program's data). Below it, apps (payments, games, markets) send transactions and read accounts through RPC. Below the apps, wallets hold keys and sign. At the bottom, users.Layers, top to bottom. The Solana network: validators that each keep the same accounts, where some accounts hold programs (your program, the Token Program) and others hold state (token balances, your program's data). Below it, apps (payments, games, markets) send transactions and read accounts through RPC. Below the apps, wallets hold keys and sign. At the bottom, users.
Programme und ihre Daten liegen im Netzwerk. Apps, Wallets und Nutzer greifen von außen darauf zu.
Sieben Konzepte bilden das Ausführungsmodell von Solana. Beginne mit Konten und Programmen und sieh dir dann an, wie aus Anweisungen Transaktionen werden. PDAs, CPIs und Fee bauen darauf auf. Das folgende Diagramm verfolgt eine Transaktion von deiner App durch das Netzwerk zu deinem Programm und zurück.

See a transaction in action

Settle a trade: 100 USDC for 80 fund shares

One real transaction, run on a local test network.

Step 1 of 7 · Build

Your app builds the transaction

Your app asks the DvP (delivery versus payment) program to settle the trade: 100 USDC for 80 fund shares.

Your appYour code, offchain
5 instructions

SettleDvp, plus 4 that create token accounts

TransactionNot signed yet
  • Fee payerSettlement agent
  • 738 of 1,232 bytes

The transaction carries a recent blockhash, so it expires if it isn't processed soon.

​Konzepte für App-Entwickler

Was eine App sieht, wenn sie Geld oder Assets bewegt: wer signiert, wann eine Zahlung abgeschlossen ist und was sie kostet.

​Weitere Themen

Assets

Fungible und nicht fungible digitale Assets auf Solana (SPL Token, Token-2022).
Jeder Cluster hat einen öffentlichen RPC-Endpunkt:
ClusterÖffentlicher RPC-EndpunktVerwendung
Mainnethttps://api.mainnet.solana.comProduktion
Devnethttps://api.devnet.solana.comExperimente für Entwickler
Testnethttps://api.testnet.solana.comTesten von Validatoren