📝 Description
We need to create comprehensive documentation for deploying Torii indexer on
both Sepolia testnet and Mainnet. Since both processes are nearly identical
(only RPC URL changes), we'll create a unified guide with network-specific
configurations.
📚 Context
The /deployments/torii.md page needs detailed content for deploying and
configuring Torii indexer for both Sepolia and Mainnet networks.
✅ Tasks
Torii Deployment Documentation (pages/deployments/torii.md)
The World address to index
world_address = "YOUR_WORLD_ADDRESS"
RPC URL - Network specific
rpc = "NETWORK_RPC_URL"
[indexing]
allowed_origins = ["*"]
transactions = true
pending = true
polling_interval = 1000
contracts = []
[events]
raw = true
[sql]
historical = ["tamagotchi-TrophyProgression"]
- Network-Specific Configuration
- Slot Authentication
slot auth login
- Creating New Torii Instance
slot d create torii
--sql.historical "tamagotchi-TrophyProgression"
--config "./torii-config.toml"
--version v1.5.1
- Verifying Deployment
slot d describe torii
- Updating Existing Torii Instance
slot d update torii --config "./torii-config.toml"
📋 Acceptance Criteria
- Complete step-by-step guide for Torii deployment
- Clear differentiation between Sepolia and Mainnet configurations
- All commands are properly formatted with syntax highlighting
- Configuration file template is complete and documented
- Network-specific RPC URLs are clearly indicated
- Instructions for both new deployments and updates
🎯 Expected Outcome
Developers should be able to:
- Configure environment for their target network
- Set up world deployment configuration
- Deploy Torii indexer using Slot
💡 Additional Notes
- Emphasize that process is identical for both networks except RPC URL
- Include links to check deployer account balance
- Mention Torii version can be updated based on latest release
- Consider adding common troubleshooting tips
📚 References
Contribution Guidelines
- Please ensure you read and follow the contribution guidelines in the project's README file
📝 Description
We need to create comprehensive documentation for deploying Torii indexer on
both Sepolia testnet and Mainnet. Since both processes are nearly identical
(only RPC URL changes), we'll create a unified guide with network-specific
configurations.
📚 Context
The
/deployments/torii.mdpage needs detailed content for deploying andconfiguring Torii indexer for both Sepolia and Mainnet networks.
✅ Tasks
Torii Deployment Documentation (
pages/deployments/torii.md)Prerequisites
Building & Testing
sozo build sozo testEnvironment Setup
export STARKNET_RPC_URL="<network_rpc_url>"
export DEPLOYER_ACCOUNT_ADDRESS="<your_deployer_account_address>"
export DEPLOYER_PRIVATE_KEY="<your_deployer_private_key>"
World Deployment Configuration
seed = "tamagotchi1" # Change to "tamagotchi2", etc. for new world
Torii Configuration File
The World address to index
world_address = "YOUR_WORLD_ADDRESS"
RPC URL - Network specific
rpc = "NETWORK_RPC_URL"
[indexing]
allowed_origins = ["*"]
transactions = true
pending = true
polling_interval = 1000
contracts = []
[events]
raw = true
[sql]
historical = ["tamagotchi-TrophyProgression"]
slot auth login
slot d create torii
--sql.historical "tamagotchi-TrophyProgression"
--config "./torii-config.toml"
--version v1.5.1
slot d describe torii
slot d update torii --config "./torii-config.toml"
📋 Acceptance Criteria
🎯 Expected Outcome
Developers should be able to:
💡 Additional Notes
📚 References
Contribution Guidelines