AWS(AmazonLinux2)でGraphNodeを実行する
GraphNodeをビルドする
githubからGraphNodeを取得
clone https://github.com/graphprotocol/graph-node
ビルドに必要なソフトをインストールする
gcc系をインストール
sudo yum install gcc gcc-c++
open-ssldevをインストール
sudo yum install openssl-devel
依存関係をチェックする
cargo build
GraphNodeをビルドする
cargo run -p graph-node --release -- \
--postgres-url postgresql://postgresqlユーザ[:パスワード]@localhost:5432/graph-node \
--ethereum-rpc mainnet:https://mainnet.infura.io/v3/[infuraのプロジェクトID] \
--ipfs 127.0.0.1:5001

ディスカッション
コメント一覧
まだ、コメントがありません