This monorepo contains three programs to manage the sales data of the StarkNetID naming smart contract in a secure and privacy preserving way.
- Language: Rust
- Function: API for frontend to register sales with metadata (user email, tax state, etc.)
- Directory:
./api_endpoint
- Language: Deno
- Function: Fetches transactions and associated metadata hashes.
- Directory:
./indexer
- Language: Rust
- Function: Automates actions like sending or scheduling emails upon a sale.
- Directory:
./sale_actions
The monorepo uses a Rust workspace for the api_endpoint
and sale_actions
components. The indexer
is separate, as it's Deno-based.
api.sales.starknet.id/
├── Cargo.toml # Workspace configuration
├── api_endpoint/ # Rust-based API endpoint
├── indexer/ # Deno-based indexer
├── sale_actions/ # Rust-based sales actions
└── README.md # This file