This tool push offchain Redstone data availability to third-party DA providers through our Alt-DA Translation Hub
- Clone https://github.com/upnodedev/op-alt-da
- Launch Alt DA with the command below (For Celestia DA)
go run ./cmd/alt-da start --da celestia \
--celestia.auth_token=... \
--celestia.namespace=... \
--celestia.rpc=... \
--private-key=...celestia.namespace can be any 29 bytes hex with 19 bytes leading zeroes such as 00000000000000000000000000000000000000eeeef23aa24dee7eeeee (You could change eeee...eeee part to any hex you want)
For celestia.auth_token and celestia.rpc, please refer to Celestia Node and Celestia Auth Token documentations.
And private-key is a private key of the wallet that submit to the Alt-DA translation hub contract
Now, we will have an Alt DA server running at port 8087 on localhost
- Clone https://github.com/upnode-org/redstone-alt-da
- Run
yarn install - Create
.envfile and set these environment variables
ALT_DA_ENDPOINT=http://localhost:8087
MORALIS_API_KEY=...
You can get a Moralis API Key from https://admin.moralis.com/api-keys
- Run
yarn build && yarn start