initia-appchain-dev
Original:🇺🇸 English
Translated
6 scripts
End-to-end Initia development and operations guide. Use when asked to build Initia smart contracts (MoveVM/WasmVM/EVM), build React frontends (InterwovenKit or EVM direct JSON-RPC), launch or operate Interwoven Rollups with Weave CLI, or debug appchain/transaction integration across these layers.
12installs
Added on
NPX Install
npx skill4agent add restorenode/hackathon-skills initia-appchain-devTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Initia Appchain Dev
Deliver practical guidance for full-stack Initia development: contracts, frontend integration, and appchain operations.
Intake Questions (Ask First)
Collect missing inputs before implementation:
- Which VM is required (,
evm,move)?wasm - Which network is targeted (or
testnet)?mainnet - Is this a fresh rollup launch or operation/debug on an existing rollup?
- For frontend work, is this an EVM JSON-RPC app or an InterwovenKit wallet/bridge app?
- What chain-specific values are known (, RPC URL, module address, denom)?
chain_id
If critical values are missing, ask concise follow-up questions before generating final code/config.
If /endpoints/VM are missing, run the discovery flow in before assuming defaults.
chain_idruntime-discovery.mdThen ask a context-specific confirmation:
- Frontend task: "I found a local rollup config/runtime. Should I use this rollup for frontend integration?"
- Non-frontend task: "I found local runtime values (VM, chain ID, endpoints). Should I use these for this task?"
Opinionated Defaults
| Area | Default | Notes |
|---|---|---|
| VM | | Use |
| Network | | Use |
| Frontend (EVM VM) | wagmi + viem direct JSON-RPC | Default for pure EVM apps |
| Frontend (Move/Wasm or bridge wallet UX) | | Use when InterwovenKit features are required |
| Frontend wallet flow (InterwovenKit path) | | Prefer confirmation UX |
| Frontend provider order (InterwovenKit path) | Query -> Wagmi -> InterwovenKit | Baseline path |
| Rollup DA | | Prefer Celestia only when explicitly needed |
| Rollup moniker | | Override for production naming |
| EVM denom | | Typical test/internal default |
| Move/Wasm denom | | Typical default |
Operating Procedure (How To Execute Tasks)
When solving an Initia task:
- Classify the task layer:
- Contract layer (Move/Wasm/EVM)
- Frontend/wallet/provider layer
- Appchain/Weave operations layer
- Integration and transaction execution layer
- Testing/CI and infra layer (RPC/LCD/indexer health)
- Resolve runtime context first:
- If VM//endpoint values are unknown, run
chain_id.scripts/verify-appchain.sh --gas-station - If critical values are still missing, run .
runtime-discovery.md - Confirm with user whether discovered local rollup should be used.
- Pick task-specific references from the Progressive Disclosure list below.
- Implement with Initia-specific correctness:
- Be explicit about network (/
testnet), VM,mainnet, and endpoints (RPC/REST/JSON-RPC).chain_id - Keep denom and fee values aligned (,
l1_config.gas_prices, funded genesis balances).l2_config.denom - Ensure wallet/provider stack matches selected frontend path.
- Ensure tx message and payload shape match chain/VM expectations.
typeUrl - Keep address formats correct (,
init1...,0x...) per config field requirements.celestia1...
- Validate before handoff:
- Run layer-specific checks (for example to check health and gas station balance).
scripts/verify-appchain.sh --gas-station - Verify L2 balances for system accounts if the rollup is active.
- Mark interactive commands clearly when the user must run them.
Progressive Disclosure (Read When Needed)
- Runtime discovery and local rollup detection:
runtime-discovery.md - Contracts (Move/Wasm/EVM):
contracts.md - Frontend (EVM direct JSON-RPC):
frontend-evm-rpc.md - Frontend (InterwovenKit):
frontend-interwovenkit.md - Weave command lookup:
weave-commands.md - Launch config field reference:
weave-config-schema.md - Failure diagnosis and recovery:
troubleshooting.md - End-to-end workflows:
e2e-recipes.md
Documentation Fallback
When uncertain about any Initia-specific behavior, prefer official docs:
- Core docs:
https://docs.initia.xyz - InterwovenKit docs:
https://docs.initia.xyz/interwovenkit
Do not guess when an authoritative answer can be confirmed from docs.
Script Usage
- Contract scaffolding:
scripts/scaffold-contract.sh - Frontend provider sanity check:
scripts/check-provider-setup.sh - Appchain health verification:
scripts/verify-appchain.sh - Address conversion (hex/bech32):
scripts/convert-address.py - System key generation (; pass
bip_utilsfor denom-aware defaults; mnemonics are redacted unless--vm <evm|move|wasm>):--include-mnemonics --output <file>scripts/generate-system-keys.py
Expected Deliverables
When implementing substantial changes, return:
- Exact files changed.
- Commands to run for setup/build/test.
- Verification steps and expected outputs.
- Short risk notes for signing, key material, fees, or production-impacting changes.
Output Rules
- Keep examples internally consistent.
- Include prerequisites for every command sequence.
- Avoid unsafe fallback logic in key or signing workflows.
- Never print raw mnemonics in chat output; if needed, write them to a protected local file.
- If uncertain about Initia specifics, consult official Initia docs first.