Set up Execution API and Composer API dependencies (protobufs and gRPC):
go get buf.build/gen/go/astria/execution-apis/grpc/go
go get buf.build/gen/go/astria/execution-apis/protocolbuffers/go
go get buf.build/gen/go/astria/composer-apis/grpc/go
go get buf.build/gen/go/astria/composer-apis/protocolbuffers/go
Set up Sequencer Client and Tendermint RPC types dependencies:
go get "github.com/astriaorg/go-sequencer-client"
go get "github.com/cometbft/cometbft"
just docker-run
This will launch a local sequencer, conductor, the rollup, and the chat frontend.
Note that conductor and composer might take 1-2s to come up since they depend on the rollup and the cometbft instance to come up.
just docker-reset
You might need to rebuild the rollup docker images
just docker-build
curl -kv localhost:8080/message \
-H "Accept: application/json" -H "Content-Type: application/json" \
--data '{"sender":"1c0c490f1b5528d8173c5de46d131160e4b2c0c3","message":"hello my friends"}'
curl -kv localhost:8080/block/1