ark-project

所属分类:NFT
开发工具:Rust
文件大小:0KB
下载次数:0
上传日期:2023-10-02 18:18:24
上 传 者sh-1993
说明:  Ark Project是一个去中心化的订单协议和工具链,用于在starknet上与开罗建立nft市场,
(Ark Project is a decentralized orderbook protocol and toolchain for building nft marketplaces on starknet with Cairo,)

文件列表:
.dockerignore (117, 2024-01-08)
.env.example (2763, 2024-01-08)
.eslintrc.js (307, 2024-01-08)
.npmrc (0, 2024-01-08)
.vscode/ (0, 2024-01-08)
.vscode/launch.json (822, 2024-01-08)
.vscode/settings.json (217, 2024-01-08)
Cargo.lock (235637, 2024-01-08)
Cargo.toml (1878, 2024-01-08)
Dockerfile (637, 2024-01-08)
LICENCE (10935, 2024-01-08)
artifacts/ (0, 2024-01-08)
artifacts/orderbook.abi.json (13230, 2024-01-08)
artifacts/starknet_utils.json (3280, 2024-01-08)
aws/ (0, 2024-01-08)
aws/cdk-solis-ecs/ (0, 2024-01-08)
aws/cdk-solis-ecs/.npmignore (65, 2024-01-08)
aws/cdk-solis-ecs/bin/ (0, 2024-01-08)
aws/cdk-solis-ecs/bin/cdk-solis.ts (381, 2024-01-08)
aws/cdk-solis-ecs/cdk.context.json (3270, 2024-01-08)
aws/cdk-solis-ecs/cdk.json (2860, 2024-01-08)
aws/cdk-solis-ecs/jest.config.js (157, 2024-01-08)
aws/cdk-solis-ecs/lib/ (0, 2024-01-08)
aws/cdk-solis-ecs/lib/cdk-solis-stack.ts (4447, 2024-01-08)
aws/cdk-solis-ecs/package.json (560, 2024-01-08)
... ...

# arkproject in ## Overview Rust libraries and binaries related to the ArkProject. This library aims at providing the building block and functionalities for the Starknet community in order to work with NFTs. ## Architecture The indexation of NFTs is at the moment a challenge on Starknet due to the standards being in progress. To propose a flexible and evolutive approach, `arkproject` provides several crates to modularize the process. ### - Pontos Pontos is an NFT indexer library for Starknet. By defining a core process, Pontos is highly extensible using it's two traits: `StorageManager`: This trait exposes all the functions that Pontos uses to access/store data required for the indexation. `EventHandler`: During the core process of Pontos, some events may be interesting to be handled by external code, without modifying the core code of Pontos. You can impl this trait to react on each event emitted by Pontos. ### - [Metadata](https://github.com/crates/ark-metadata/README.md) Even if the metadata are not at the core of the indexing process, they are vital for any NFT ecosystem. The `metadata` crate aims at providing basic functions to work with normalized metadata. In the current design, this crate totally separated from the indexation loop as it can be massively optimized elsewhere. ### - Starknet To work, the indexer must interact with Starknet. The `starknet` crate provides an epurated Starknet provider interface required by indexers and utilitary functions related to Starknet types. ### - Solis Solis is the sequencer that powers the Arkchain, where the decentralized orderbook lives. For now Solis is not decentralizable, but it will be. Solis is for now based on Katana from [Dojo](https://github.comhttps://www.dojoengine.org/en/) project. To run Solis, `cargo run -p solis`. ### - Diri Diri is an indexer library for Solis and the Arkchain smart contracts. As Pontos, Diri defines a core logic that can be configured using the two following traits: `StorageManager`: This trait exposes all the functions that Diri uses to access/store data required for the indexation. `EventHandler`: During the core process of Diri, some events may be interesting to be handled by external code, without modifying the core code of Diri. You can impl this trait to react on each event emitted by Diri. ## Features - Indexer logic for Starknet NFT - Indexer for arkchain orderbook - Generic storage for indexer data with SQL-lite - NFT Metadata manager interface ## Quick start Examples are available in the `example` folder. They can be run with the following command: ``` RUST_LOG="ark=trace,storage=trace" cargo run --example diri ``` To work on a specific package: ``` cargo build -p ``` ## License Ark Project is licensed under the [Apache License](https://github.com./LICENCE).

近期下载者

相关文件


收藏者