DAPP Indexer, index IPFS/IPNS CID with DAO consensus and verification. This is for the DAPPs consumption which already published/updated its CIDs.
Go to file
David E. Perez Negron R. 0a2c9680fc Adding first proof of concept dapp indexer 2024-02-24 14:49:07 -06:00
.github/workflows chore: forge init 2024-01-16 20:58:50 -06:00
lib forge install: openzeppelin-contracts 2024-01-16 21:10:03 -06:00
script Adding first proof of concept dapp indexer 2024-02-24 14:49:07 -06:00
src Adding first proof of concept dapp indexer 2024-02-24 14:49:07 -06:00
test Adding first proof of concept dapp indexer 2024-02-24 14:49:07 -06:00
.gitignore chore: forge init 2024-01-16 20:58:50 -06:00
.gitmodules forge install: openzeppelin-contracts 2024-01-16 21:10:03 -06:00
README.md Adding first proof of concept dapp indexer 2024-02-24 14:49:07 -06:00
env.example Adding first proof of concept dapp indexer 2024-02-24 14:49:07 -06:00
foundry.toml Adding first proof of concept dapp indexer 2024-02-24 14:49:07 -06:00

README.md

Dapp Indexer

** The Dapp Indexer is a simple smart contract which stores an IPFS CID from a dapp based on a key name**

The goal is to use this as an alternative for ssl to web3 to verify its the correct content/version/asset.

The Dapp Indexer has the following features:

  • Roll management so that it can be integrated into a Dapp or Roles.
  • Low Gas Consumption
  • Keep it as simple as posible.

ToDo and wanted features:

  • Create an event for metadata information about the CID.
  • Support other type of hashes or structure storage

Usage

Build

$ forge build

Test

$ forge test

Gas Snapshots

$ forge snapshot

Anvil

$ anvil

Deploy

$ forge script script/Counter.s.sol:CounterScript --rpc-url <your_rpc_url> --private-key <your_private_key>

Cast

$ cast <subcommand>

Help

$ forge --help
$ anvil --help
$ cast --help