forked from DecentralizedScience/dapp_indexer
0a2c9680fc | ||
---|---|---|
.github/workflows | ||
lib | ||
script | ||
src | ||
test | ||
.gitignore | ||
.gitmodules | ||
README.md | ||
env.example | ||
foundry.toml |
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