-
Notifications
You must be signed in to change notification settings - Fork 49
📝 [DOCS] Add Torii indexer deployment guide for Sepolia and Mainnet #192
Copy link
Copy link
Labels
AUTO PAYMENTSCampaign: AUTO PAYMENTSCampaign: AUTO PAYMENTSGrantFox OSSIssue tracked in GrantFox OSSIssue tracked in GrantFox OSSMaintainer: jimenezz22Maybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewarddocumentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomersonlydust-waveContribute to awesome OSS repos during OnlyDust's open source weekContribute to awesome OSS repos during OnlyDust's open source week
Metadata
Metadata
Assignees
Labels
AUTO PAYMENTSCampaign: AUTO PAYMENTSCampaign: AUTO PAYMENTSGrantFox OSSIssue tracked in GrantFox OSSIssue tracked in GrantFox OSSMaintainer: jimenezz22Maybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewarddocumentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomersonlydust-waveContribute to awesome OSS repos during OnlyDust's open source weekContribute to awesome OSS repos during OnlyDust's open source week
Type
Fields
Give feedbackNo fields configured for Task.
📝 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