#cap #history #transaction #sdk #internet-computer #cap-sdk #service

cap-sdk-core

The core for Cap's SDK. This crate shouldn't be used for implementing support for cap, see cap-sdk instead.

4 releases

0.2.3 Jul 25, 2022
0.2.2 May 31, 2022
0.2.1 Jul 25, 2022
0.1.0-alpha1 Nov 18, 2021

#12 in #cap


Used in 2 crates (via cap-sdk)

GPL-3.0 license

50KB
1K SLoC

CI

CAP - Certified Asset Provenance

Transaction history & asset provenance for NFT’s & Tokens on the Internet Computer

CAP is an open internet service providing transaction history & asset provenance for NFT’s & Tokens on the Internet Computer. It solves the huge IC problem that assets don’t have native transaction history, and does so in a scalable, trustless and seamless way so any NFT/Token can integrate with one line of code.

This repository has the base codebase (in development), for all the canisters involved in the CAP open internet service.

For integrations visit the CAP Motoko or RUST SDK repositories (see links below) in the case of Tokens/NFTs wanting to integrate CAP to have a transaction history; and the CAP-js repository for UIs that want to surface transaction history data for users from CAP. Our simply visit our documentation page.

IMPORTANT: CAP is currently in development 🚧 and will release in the first week of November, thus it is not on mainnet or usable yet. You might see our documentation is light on the SDK/Main repo still. We're delayed in this to focus on testing, but will soon update this page with guides & detailed examples for developers.

Canisters in CAP

This repository contains am implementation for the spec described for this OIS, which requires multiple canisters to act with each other, currently there are the following canisters:

  1. Router: The router canister is the central canister for this service, it is the entry point.
  2. Root: The root canister implements the Root Bucket interface of the spec.
  3. Bucket: Implements an archive canister that is generated by the Root Bucket.

lib.rs:

cap_core is a low-level library for interacting with cap from an IC canister.

If you're looking to interact with cap, you may be looking for the cap_dk instead.

Dependencies

~6–18MB
~225K SLoC