Skip to content

streamingfast/network-payments-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Network Payments CLI

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.


Installation

To install the CLI tools:

git clone git@github.com:streamingfast/network-payments-cli.git
cd network-payments-cli
go install ./cmd/payhorizon

This will install the payhorizon command


Usage

You should now use: payhorizon 5 0x00000000000000000000YourSafeVaultAddress 0x35917C0eB91d2E21BEF40940D028940484230c06 substreams> multitransactions.json where:

  • 5 is the payment amount in GRT
  • 0x00000000000000000000YourSafeVaultAddress is the address of the safe vault that will be doing the payment
  • 0x35917C0eB91d2E21BEF40940D028940484230c06 is the receiver's address (usually the our indexer)
  • substreams is the name of the service to be hex-encoded as a fake service address
  • multitransactions.json is the file that you will give to your Gnosis SAFE to run the multiple transactions bundled in one.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages