Difference between revisions of "Graph-node"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
* https://github.com/graphprotocol/graph-node
 
* https://github.com/graphprotocol/graph-node
 +
 +
 +
cargo run -p graph-node --release -- \
 +
  --postgres-url postgresql://USERNAME[:PASSWORD]@localhost:5432/graph-node \
 +
  --ethereum-rpc NETWORK_NAME:[CAPABILITIES]:URL \
 +
  [[--ipfs]] 127.0.0.1:5001
  
  

Revision as of 08:00, 13 July 2023


cargo run -p graph-node --release -- \
  --postgres-url postgresql://USERNAME[:PASSWORD]@localhost:5432/graph-node \
  --ethereum-rpc NETWORK_NAME:[CAPABILITIES]:URL \
  --ipfs 127.0.0.1:5001


   psql -q -X -U <SUPERUSER> graph-node <<EOF
create extension pg_trgm;
create extension pg_stat_statements;
create extension btree_gist;
create extension postgres_fdw;
grant usage on foreign data wrapper postgres_fdw to <USERNAME>;
EOF


Related

See also

Advertising: