Sol.College

Structure lesson (licence does not allow quoting code)

AIrth

AIrth, as envisioned, will be an AI-driven platform focused on optimizing energy usage, forecasting trends, and reducing greenhouse gas (GHG) emissions for businesses. At the same time, platform has ntegrated carbon credit marketplace, where private individuals and companies can trade with the carbon credit with Solana crypto.

Original
Vladmir-bits/AIrth
SuperStack fork
Blockchains/AIrth @ da66673
Stars
0
Last push (original)
2024-04-07
Languages
Python, Rust
Detected stack
not detected
Categories
AI & Agents
Licence
none detected: code not quoted on Sol.College

Architecture

13 source files. By extension: .py ×8, .rs ×5.

Top-level directorySource files
src6
carbon credit marketplace5
tests2

Where the Solana code lives

Source files that import a Solana SDK, ranked by how many Solana APIs they use, with the APIs each one calls. Read them in this order to see how the app talks to the chain.

FileSolana APIs used
carbon credit marketplace/contracts/carbon_credit_marketplace.rsAccountInfo, Pubkey
carbon credit marketplace/scripts/deploy_contract.rsPubkey
carbon credit marketplace/scripts/sell_carbon_credits.rsPubkey
carbon credit marketplace/scripts/buy_carbon_credit.rsPubkey
carbon credit marketplace/tests/test_carbon_credit_marketplace.rsPubkey

Dapp: devnet deploy pending

⏳ Devnet deploy pending — goes live when the devnet wallet is topped up. This fork's own dapp is not deployed yet, so there is no program address or transaction to show. It is queued in dapp-queue.txt; once devnet SOL is available it is deployed, exercised with real devnet transactions, and this section switches to the live dapp at /dapps/airth/. Until then, the lesson and step-by-step guide below are complete, and you can run it locally with the commands below.

How to run

No package.json, Anchor.toml, Cargo.toml, go.mod or Makefile was found near the root. See the project README.

What you could build from it