bite-dev
BITE Protocol Development
BITE (Blockchain Integrated Threshold Encryption) provides privacy primitives on SKALE Network. Use this skill when building encrypted transactions or conditional transactions (CTX).
When to Apply
Reference these guidelines when:
- Implementing encrypted transactions (Phase I)
- Building CTX-enabled contracts (Phase II)
- Private games (Rock-Paper-Scissors, etc.)
- Voting or bidding applications
- Using
@skalenetwork/bite-soliditylibrary - Using
@skalenetwork/biteTypeScript SDK
BITE Phases
| Phase | Feature | Chains Available |
|---|---|---|
| Phase I | Encrypted Transactions | SKALE Base, SKALE Base Sepolia, BITE Sandbox |
| Phase II | Conditional Transactions (CTX) | BITE V2 Sandbox 2 only |
Quick Reference
Phase I: Encrypted Transactions
bite-encrypted-transactions- encryptTransaction() flowbite-sdk-usage- TypeScript SDK usage
Phase II: Conditional Transactions (CTX)
bite-conditional-transactions- CTX contract patternsbite-solidity-helpers- Solidity library usage
Chain Selection
| Need | Chain |
|---|---|
| BITE Phase I only | SKALE Base Sepolia → SKALE Base |
| BITE Phase II (CTX) | BITE V2 Sandbox 2 (Chain ID: 1036987955) |
Key Addresses
Phase I
- Magic Address:
0x0000000000000000000000000000000000000401
Phase II (CTX)
- BITE Submit CTX:
0x000000000000000000000000000000000000001B
Compiler Requirements
| Feature | Solidity | EVM |
|---|---|---|
| Phase I | Any supported | Any |
| Phase II (CTX) | ≥0.8.27 | istanbul |
Resources
- bite-solidity:
github.com/skalenetwork/bite-solidity - bite-ts:
github.com/skalenetwork/bite-ts - Demo:
github.com/TheGreatAxios/ctxs(thegreataxios/rps branch) - Full E2E RPS game with CTX - Starter:
github.com/thegreataxios/skale-ctxs-foundry-starter- Basic CTX template
How to Work
- Identify Phase: Phase I (encrypted tx) or Phase II (CTX)?
- Select Chain: Based on phase requirements
- Use Correct Compiler: Istanbul for CTX
- Implement: Follow patterns in rules files
- Test: Use BITE Sandbox for CTX development
Related Skills
skale-dev- General SKALE developmentsolidity-dev-tips- Solidity best practices
More from thegreataxios/agent-skills
arktype
TypeScript type validation with ArkType, ArkEnv, and ArkRegex. Use for schemas, environment variables, and type-safe regex.
10x402
x402 protocol v2 for internet-native payments. Use when building x402 servers, clients, facilitators, or integrating x402 payment flows. Triggers: x402, payment required, 402, paywall, micropayment, EIP-3009, payment protocol, facilitator, PaymentPayload, PaymentRequirements.
9zod
TypeScript-first schema validation with Zod v4. Use for schemas, type inference, validation, transformations, and JSON Schema generation.
9skale-dev
SKALE Network development guidelines for building scalable dApps, smart contracts, and cross-chain solutions (February 2026). Use when building Solidity contracts, integrating SKALE into web/mobile apps, deploying to SKALE chains, or implementing privacy with BITE Protocol.
7skale-docs
Search and reference SKALE documentation. Use when looking up API references, chain configurations, or BITE Protocol details.
3bite
BITE Protocol development for encrypted and conditional transactions on SKALE. Use for privacy features, threshold encryption, CTX, and Rock-Paper-Scissors style games.
1