Install the astria-go CLI
The astria-go CLI is a tool designed to make local rollup development as simple and dependency free as possible. It provides functionality to easily run the Astria stack and interact with the Sequencer.
Download using Curl
bash
curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.16.0/astria-go-v0.16.0-darwin-arm64.tar.gz > astria-cli.tar.gz
tar -xvzf astria-cli.tar.gz
mv astria-go /usr/local/bin/
astria-go versionbash
curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.16.0/astria-go-v0.16.0-darwin-amd64.tar.gz > astria-cli.tar.gz
tar -xvzf astria-cli.tar.gz
mv astria-go /usr/local/bin/
astria-go versionbash
curl -L https://github.com/astriaorg/astria-cli-go/releases/download/v0.16.0/astria-go-v0.16.0-linux-amd64.tar.gz > astria-cli.tar.gz
tar -xvzf astria-cli.tar.gz
mv astria-go /usr/local/bin/
astria-go versionView all releases here.
Build from Source
This requires Go and just to be installed on your system.
bash
git clone git@github.com:astriaorg/astria-cli-go.git
cd astria-cli-go
just build-cli
# run the cli in the repo directory
just run version
# OR you can move the binary to a location in your PATH if you'd like
mv ./bin/astria-go /usr/local/bin/
astria-go versionbash
git clone https://github.com/astriaorg/astria-cli-go.git
cd astria-cli-go
just build-cli
# run the cli in the repo directory
just run version
# OR you can move the binary to a location in your PATH if you'd like
mv ./bin/astria-go /usr/local/bin/
astria-go versionView the source code here.