Giter Club home page Giter Club logo

api.sales.starknet.id's Introduction

api.sales.starknet.id

Overview

This monorepo contains three programs to manage the sales data of the StarkNetID naming smart contract in a secure and privacy preserving way.

Components

1. API Endpoint (api_endpoint)

  • Language: Rust
  • Function: API for frontend to register sales with metadata (user email, tax state, etc.)
  • Directory: ./api_endpoint

2. Indexer (indexer)

  • Language: Deno
  • Function: Fetches transactions and associated metadata hashes.
  • Directory: ./indexer

3. Sale Actions (sale_actions)

  • Language: Rust
  • Function: Automates actions like sending or scheduling emails upon a sale.
  • Directory: ./sale_actions

Architecture

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

api.sales.starknet.id's People

Contributors

th0rgal avatar marchand-nicolas avatar

Watchers

 avatar

api.sales.starknet.id's Issues

Fix `processing` not accurate

I tried to buy a domain on mainnet: tryingemailfeaturev3.stark. I can see the purchase was correctly indexed and the metadata too with ```json
{ meta_hash : "385a5839ad41a705cfaf6e489727f812872d5c814298f495e4f06da5e87796" }


But I didn't receive emails and I can see the `processed` collection doesn't include my `meta_hash`.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.