MCPcopy Index your code
hub / github.com/AltheaFoundation/althea-L1

github.com/AltheaFoundation/althea-L1 @v1.6.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.6.3 ↗ · + Follow
3,220 symbols 9,005 edges 269 files 1,035 documented · 32%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Althea L1

Althea L1 is a layer one blockchain specifically for micropayment applications. By dividing the chain between a highly efficient micropaymetns interface and a flexible programmable EVM. Linking these two environments is liquid infrastructure a special account type represented by an NFT that holds revenues from devices performing micropayments.

Althea introduced our pay-per-forward protocol in 2018, a trustless way of coordinating payments for bandwidth and network routing that is radical in its simplicity and efficiency. This is just one of the many usecases possible.

Join the Althea community!

Join us on Discord or Matrix


Developer instructions

To contribute to Althea-L1, refer to these guides.

Development environment setup

Adding integration tests

Build and test

make
make test

Extension points exported contracts — how you extend this code

SignedTx (Interface)
(no doc) [7 implementers]
app/ante/account_type.go
GasfreeKeeper (Interface)
GasfreeKeeper defines only the methods of the gasfree module needed by erc20. Narrow methods avoid an import cycle with [2 …
x/erc20/types/interfaces.go
EthRepr (Interface)
Allows collections to convert themselves into types understandable by Ethereum [1 implementers]
integration_tests/test_runner/src/evm_utils.rs
TransferKeeper (Interface)
TransferKeeper defines the expected IBC transfer keeper. [1 implementers]
x/onboarding/types/interfaces.go
Logger (Interface)
Logger is a network logger interface that exposes testnet-level Log() methods for an in-process testing network This is [1 …
testutil/network/network.go
BankKeeper (Interface)
BankKeeper defines the expected bank keeper methods
x/microtx/types/expected_keepers.go
EVMKeeper (Interface)
Required for deploying Map-Contract/Caling setter methods of Map-Contract
x/nativedex/types/interfaces.go
ClientConfig (Interface)
(no doc) [1 implementers]
ibcutils/testing/config.go

Core symbols most depended-on inside this repo

AppCodec
called by 64
ibcutils/testing/app.go
Equal
called by 62
x/microtx/types/genesis.go
GetBalance
called by 58
x/common/deduct_fee.go
get_fee
called by 55
integration_tests/test_runner/src/utils.rs
GetSubspace
called by 55
app/app.go
one_atom
called by 44
integration_tests/test_runner/src/utils.rs
SetIBCTransferKeeper
called by 35
x/erc20/keeper/keeper.go
GetSequence
called by 35
app/ante/interfaces.go

Shape

Method 2,011
Function 920
Struct 179
Class 65
Interface 38
Enum 5
TypeAlias 2

Languages

Go89%
Rust11%
TypeScript1%

Modules by API surface

x/nativedex/types/nativedex.pb.go320 symbols
x/erc20/types/tx.pb.go201 symbols
x/microtx/types/msgs.pb.go173 symbols
x/microtx/types/query.pb.go159 symbols
x/erc20/types/query.pb.go122 symbols
x/erc20/types/erc20.pb.go83 symbols
x/erc20/types/canto/legacy.pb.go60 symbols
integration_tests/test_runner/src/dex_utils.rs58 symbols
integration_tests/test_runner/src/utils.rs51 symbols
x/onboarding/types/query.pb.go47 symbols
x/nativedex/types/query.pb.go47 symbols
x/gasfree/types/query.pb.go47 symbols

For agents

$ claude mcp add althea-L1 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page