The Network Payments CLI provides a streamlined command-line interface for interacting with The Graph Network's Payments API. Its primary goal is to simplify sending and receiving payments on the network.
To install the CLI tools:
git clone git@github.com:streamingfast/network-payments-cli.git
cd network-payments-cli
go install ./cmd/payhorizonThis will install the payhorizon command
You should now use: payhorizon 5 0x00000000000000000000YourSafeVaultAddress 0x35917C0eB91d2E21BEF40940D028940484230c06 substreams> multitransactions.json where:
5is the payment amount in GRT0x00000000000000000000YourSafeVaultAddressis the address of the safe vault that will be doing the payment0x35917C0eB91d2E21BEF40940D028940484230c06is the receiver's address (usually the our indexer)substreamsis the name of the service to be hex-encoded as a fake service addressmultitransactions.jsonis the file that you will give to your Gnosis SAFE to run the multiple transactions bundled in one.