![]() ![]() You can build the documentation for this crate by running cargo doc. Look in the wiki for more information about the database setup. Note that up and down scripts are meant for convenience and are not meant to be complete. You can access the help dialog via cargo run -release -help. `chain` can be one of `polkadot`, `kusama`, or `westend`.Ĭargo run -release -c test_conf.toml -chain=polkadot ![]() Polkadot -chain=polkadot -pruning=archive # Start the normal polkadot node with `pruning` set to `archive` scripts/down.sh to drop the database cd substrate-archive/bin/polkadot-archive/ The node-template CLI (in /bin/node-template-archive) is provided as an example of implementing substrate-archive for your chain. More information in the wiki The Node-Template CLI All thats required is setting up a PostgreSQL DB, and modifying a config file. It provides a batteries-included binary, so that you don't have to write any rust code. The CLI is an easier way to get started with substrate-archive. Substrate-based Blockchain running under -pruning=archive.Substrate-based Blockchain running with RocksDB as the backend.PostgreSQL with a database ready for lots of new data.depending on the chain you want to index, ~60GB free space.The schema for the PostgreSQL database is described in the PDF File at the root of this directory.Įxamples for how to use substrate-archive are in the examples/ directory PrerequisitesĮxtended requirements list found in the wiki Run alongside a substrate-backed chain to index all Blocks, State, and Extrinsic data into PostgreSQL. Substrate Archive Blockchain Indexing Engine Have a look at #464 for more information. Maintainance status: currently unmmaintained please fork. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |