Skip to content

KaJLabs/LEP100

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LEP100 β€” Lithosphere Enhancement Proposals (Asset & AI Protocol Stack)

Status Standards Language VM Network Tests License

Author: J. King Kasr
Organization: KaJ Labs
Language Target: Lithic (.lithic)
VM Target: LithoVM


Overview

LEP100 defines the modular smart-contract standards stack for Lithosphere, combining:

  • AI-native execution (typed services, async fulfillments, receipts, optional zk verification)
  • Assets & NFTs (NFT, composable NFTs, shared ownership, multi-token)
  • Royalties, metadata, and marketplace hooks
  • Cross-chain bridge interfaces (mint/burn + replay protection)
  • Privacy-preserving account linking (PPAL)

All specifications prioritize deterministic execution, capability-based security, composable interfaces, and conformance testing.


LEP100 Stack

LEP Title
LEP100-1 Lithic Core Specification
LEP100-2 AI Service Provider Standard
LEP100-3 Budget & Cost Accounting Model
LEP100-4 Provenance Receipt Cryptographic Standard
LEP100-5 zk-Verifiable AI Execution Extension
LEP100-6 Non-Fungible Token (NFT) Standard
LEP100-7 Composable NFT Standard
LEP100-8 Shared NFT Ownership Standard
LEP100-9 Multi-Token Standard
LEP100-10 Royalty Standard
LEP100-11 Metadata Standard
LEP100-12 Marketplace Hooks Standard
LEP100-13 Bridge Mint/Burn Interface
LEP100-14 Privacy-Preserving Account Linking (PPAL)

Repository Layout

lep100/
β”œβ”€ docs/                 # MkDocs-ready documentation
β”œβ”€ specs/                # RFC-style specs (Markdown)
β”œβ”€ lscl/                 # Reference modules (Lithic)
β”œβ”€ tests/                # Conformance tests (Lithic)
└─ rust/                 # Optional Rust workspace (CLI + helpers)

Conformance

An implementation is LEP100-compliant if it:

  1. Implements required ABIs
  2. Emits required events
  3. Enforces required error codes
  4. Passes the official conformance suite (LEP100-1 β†’ LEP100-14)
  5. Preserves deterministic state transitions under LithoVM

πŸͺ™ LEP100 Token Deployment

Deploy LEP100 Token

Deploying LEP100 tokens on Lithosphere is conceptually similar to ERC-20 deployment, but with Lithosphere-specific tooling (Lithic + dual Cosmos/EVM support).

Network Standard Language EVM License

Deploy LEP100 tokens on the Lithosphere Network (Makalu Testnet & Mainnet)


🌐 Overview

LEP100 is the native fungible token standard on Lithosphere, built for:

  • ⚑ High-performance execution (~1s blocks)
  • πŸ”— Cross-chain compatibility (Cosmos + EVM)
  • πŸ€– Agent-native programmability
  • 🧩 Token lifecycle management (minting, vesting, governance)

This repository demonstrates how to deploy LEP100 tokens using:

  • Lithic (native) β€” recommended
  • Solidity (EVM-compatible)
  • Litho Finance (no-code UI)

βš™οΈ Network Configuration

πŸ§ͺ Makalu Testnet

Parameter Value
RPC Endpoint https://rpc.litho.ai
Cosmos Chain ID lithosphere_777777-1
EVM Chain ID 700777
Explorer https://makalu.litho.ai

1️⃣ Lithic Deployment (Recommended)

πŸ“¦ Install Lithic CLI

git clone https://github.com/KaJLabs/Lithic
cd Lithic
cargo build --release

###3 πŸ— Initialize Project

lithic new token
cd token

🧾 Example LEP100 Contract

contract LEP100Token {

   name: string = "MyToken";
   symbol: string = "MTK";
   decimals: u8 = 18;

   total_supply: u256;
   balances: mapping(address => u256);

   init(initial_supply: u256) {
       total_supply = initial_supply;
       balances[msg.sender] = initial_supply;
   }

   fn transfer(to: address, amount: u256) {
       assert(balances[msg.sender] >= amount);

       balances[msg.sender] -= amount;
       balances[to] += amount;
   }

   fn balance_of(owner: address) -> u256 {
       return balances[owner];
   }
}

πŸ”¨ Build

lithic build

πŸš€ Deploy

lithic deploy \
 --network makalu \
 --private-key YOUR_PRIVATE_KEY \
 --args 1000000000000000000000000

πŸ” Verify

πŸ‘‰ https://makalu.litho.ai

2️⃣ Solidity Deployment (EVM)

πŸ“¦ Install Dependencies

npm install --save-dev hardhat @openzeppelin/contracts

🧾 Contract

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

contract LEP100Token is ERC20 {
   constructor(uint256 initialSupply) ERC20("MyToken", "MTK") {
       _mint(msg.sender, initialSupply);
   }
}

βš™οΈ Hardhat Config

module.exports = {
 networks: {
   litho: {
     url: "https://rpc.litho.ai",
     chainId: 700777,
     accounts: [process.env.PRIVATE_KEY]
   }
 },
 solidity: "0.8.20"
};

πŸš€ Deploy

npx hardhat run scripts/deploy.js --network litho

3️⃣ Litho Finance (No-Code)

Deploy via UI: Connect wallet Select Create Token Choose LEP100 Configure supply + vesting Click Deploy

πŸ€– Agent Integration

LEP100 tokens are designed for AI agent interaction. 🧠 AgentCraft Create and Deploy Powerful AI Agents Onchain Visual workflow builder Connect LLMs, APIs, databases Build agents that reason, remember, and act No-code creation Automated onchain deployment

🧱 Ecosystem

Litho Finance β€” Token lifecycle platform Lithic β€” Smart contract language LEP100 β€” Token standard AgentCraft β€” AI agent builder

πŸ” Best Practices

βœ… Use multisig wallets βœ… Add vesting contracts βœ… Audit contracts before mainnet βœ… Test on Makalu testnet βœ… Monitor token activity


Credits

Designed and proposed by J. King Kasr β€’ Maintained by KaJ Labs.


License

Apache-2.0

About

LEPπŸ’― is a suite of programmable AI-native economic and execution multi-standards for Lithosphere proposed by founder J. King Kasr.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors