NaniDAO / NANI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NANI dynamic contract for onchain AI. A function-by-function approach to building onchain intelligence augmented by a DAO. By using a single (efficient) create2 address across all blockchains, NANI can serve as a single source of truth for agents and DAOs seeking curated onchain data services.

0x000000000000641b6a7b74f177babdb4417718ef

Extensions

Single-getter contracts. Each provide a function to NANI according to their name that returns relevant data.

Models: 0x0000000036020043030089d1196c46e3c4dc064c

Prompts: 0x0000000000b1cddDFDdf0048BfEF46594B799c1b

Akashic (Knowledge base)

0x000000000000394793B2Fe854281CeE09a98bdBC

Getting Started

Run: curl -L https://foundry.paradigm.xyz | bash && source ~/.bashrc && foundryup

Build the foundry project with forge build. Run tests with forge test. Measure gas with forge snapshot. Format with forge fmt.

Blueprint

lib
├─ forge-std — https://github.com/foundry-rs/forge-std
├─ solady — https://github.com/Vectorized/solady 
src
├─ NANI — NANI Contract
test
└─ NANI.t - NANI Test Contract

Disclaimer

These smart contracts and testing suite are being provided as is. No guarantee, representation or warranty is being made, express or implied, as to the safety or correctness of anything provided herein or through related user interfaces. This repository and related code have not been audited and as such there can be no assurance anything will work as intended, and users may experience delays, failures, errors, omissions, loss of transmitted information or loss of funds. The creators are not liable for any of the foregoing. Users should proceed with caution and use at their own risk.

License

See LICENSE for more details.

About

License:GNU Affero General Public License v3.0


Languages

Language:Solidity 100.0%