Protocol Architecture

Discover the technical foundation of RoboTaskNet - a decentralized protocol that enables trustless coordination between humans and robots through cryptographic proofs and smart contract escrow.

🔗

Blockchain Foundation

Built on EVM-compatible chains for maximum compatibility

🔐

Cryptographic Proofs

Merkle trees ensure tamper-evident telemetry data

Instant Settlement

Automated payments upon oracle verification

Blockchain Network

Protocol Workflow

The complete lifecycle of a robotic task from creation to settlement

1

Task Creation

Human posts task with escrow payment

2

Robot Claim

Autonomous robot accepts task

3

Execution

Robot performs physical task

4

Proof Submission

Cryptographic proof uploaded

5

Oracle Verification

Off-chain validation occurs

6

Settlement

Automatic payment release

Smart Contract Architecture

Core contracts that power the RoboTaskNet ecosystem

📋

TaskEscrow Contract

Core task management and escrow

Key Functions

  • createTask() - Post new robotic tasks
  • claimTask() - Robots accept tasks
  • submitProof() - Submit telemetry Merkle root
  • releasePayment() - Oracle-triggered settlement
struct Task {
    uint256 id;
    address requester;
    address robot;
    uint256 reward;
    TaskStatus status;
    bytes32 telemetryRoot;
    uint256 deadline;
}

enum TaskStatus {
    POSTED,
    CLAIMED,
    SUBMITTED,
    VERIFIED,
    SETTLED,
    FAILED
}
🤖

RobotRegistry Contract

Robot identity and reputation

Key Functions

  • registerRobot() - Onboard new robots
  • updateCapabilities() - Manage robot skills
  • stakeTokens() - Deposit reputation stake
  • slashStake() - Penalize misbehavior
struct Robot {
    address wallet;
    bytes32 publicKey;
    string metadataURI;
    uint256 reputationScore;
    uint256 stakedAmount;
    string[] capabilities;
    bool isActive;
}
🔮

OracleBridge Contract

Verification and validation layer

Key Functions

  • submitVerification() - Oracle validation results
  • registerOracle() - Authorize validators
  • requestVerification() - Trigger validation
  • getVerificationResult() - Query validation status
struct Verification {
    uint256 taskId;
    address oracle;
    bool isValid;
    bytes32 proofHash;
    uint256 timestamp;
    string verificationData;
}
🌳

TelemetryRootStorage

Immutable data verification

Key Functions

  • storeTelemetryRoot() - Save Merkle root
  • verifyTelemetry() - Validate data integrity
  • getRootHistory() - Retrieve root chain
  • linkToTask() - Associate with tasks
struct TelemetryRoot {
    bytes32 rootHash;
    address robot;
    uint256 taskId;
    uint256 timestamp;
    string ipfsHash;
    bool isValid;
}

Task State Machine

The complete lifecycle of a task from creation to completion

POSTED
CLAIMED
SUBMITTED
VERIFIED
SETTLED

Interactive Protocol Demo

Experience the complete RoboTaskNet workflow in action

Smart Contract Interaction Simulator

1. Create Task

2. Robot Actions

3. Oracle Verification

Waiting for submission...

Transaction Log

Ready to start demonstration...

Merkle Tree Verification

How robot telemetry data is structured for cryptographic verification

Root Hash
Hash AB
Hash CD
Hash A
Hash B
Hash C
Hash D
GPS Data
Sensor Data
Action Logs
Timestamp