Menu

Explorer & Settings

Tempo Explorer Submit Project
Back to all projects

x402-cross-chain-confidential-micropayment

by masaun · Updated 3 months ago

x402 Cross Chain Confidential Payment built on Aztec Network, which the smart contract is written in Noir.

In the AI payments ecosystem

x402-cross-chain-confidential-micropayment is an early-stage TypeScript project in the AI payments / x402 ecosystem, focused on aztec-evm-bridge, aztec-network, noir, x402. It currently has 1 GitHub stars and 0 forks, and sits alongside related tools like nofx, ClawRouter, bitterbot-desktop, internet-court-skill, Franklin, daydreams.

README.md View on GitHub →

x402 Cross Chain Confidential Payment

Overview

  • This is the x402 Cross Chain Confidential Payment built on Aztec Network, which the smart contract is written in Noir.
    • Also, this project is built on the Aztec EVM Bridge (powered by Substance Labs) to enable the cross chain confidential payment.

Technical Stack

  • Smart Contract: Noir

    • nargo/noirc: v1.0.0-beta.16
  • Blockchain: Aztec Network (Ethereum L2 Rollup)

    • aztec package: v3.0.0-devnet.2

Remarks


Setup

  1. Install Aztec by following the instructions from their documentation.
  2. Install the dependencies by running: yarn install
  3. Ensure you have Docker installed and running (required for Aztec sandbox)

SC Compile & Build

The complete build pipeline includes cleaning, compiling Noir contracts, and generating TypeScript artifacts:

yarn ccc

This runs:

  • yarn clean - Removes all build artifacts
  • yarn compile - Compiles Noir contracts using aztec-nargo
  • yarn codegen - Generates TypeScript bindings from compiled contracts

NOTE:

  • Currently, the partial_att_verifier is moved to the nr/pending directory - due to compile errors-caused by the aztec-packages version mismatch (v3.0.0-devnet.2 and v3.0.0-devnet.5).

Smart Contract Test

Noir tests only

Test your contract logic directly:

yarn test:nr

e2e Test

TypeScript integration tests only

Test contract interactions through TypeScript:

yarn test:js

Resources

All Ethereum projects →