How-To Guides
This section provides step-by-step instructions to help users complete specific tasks associated with developing on Stellar. These tasks can include instructions for goals related to writing contracts, interacting with contracts, building applications, using Stellar operations, setting up infrastructure, and more.
Contract Conventions
Using __check_auth in interesting ways
Deploy a contract from installed Wasm bytecode using a deployer contract
Deploy a SAC for a Stellar asset using code
Organize contract errors with an error enum type
Extend a deployed contract’s TTL with code
Dapp Development
Use Docker to build and run dapps
Comprehensive frontend guide for Stellar dapps
Initialize a dapp using scripts
Create a frontend for your dapp using React
Develop contract initialization frontend templates
Events
Consume previously ingested events
Freighter Wallet
Integrate Freighter with a React dapp
Prompt Freighter to sign transactions as a JS dapp developer
Fees & Metering
RPC
Generate ledger key parameters with a symbol key using the Python SDK
Retrieve a contract code ledger entry using the JavaScript SDK
State Archival
Create a restoration footprint manually to restore archived data using the JavaScript SDK
Restore a contract using the JavaScript SDK
Stellar Basics
Stellar CLI
Deploy a contract from installed Wasm bytecode
Deploy the Stellar Asset Contract for a Stellar asset
Extend a deployed contract instance's TTL
Extend a deployed contract's storage entry TTL
Extend a deployed contract's Wasm code TTL
Install and deploy a smart contract
Storage
How to choose the right storage type for your use case
Use instance storage in a contract
Testing
Implement basic tests for a contract
Tokens
Deploy a Stellar Asset Contract (SAC) from within a contract
Transactions
Install and deploy a smart contract with code
Install WebAssembly (Wasm) bytecode using code
Invoke a contract function in a Stellar transaction using SDKs
simulateTransaction RPC method guide
Submit a transaction to Soroban RPC using the JavaScript SDK
Type Conversions
Convert an address to other types