An open API service indexing awesome lists of open source software.

https://github.com/julienrbrt/spamtx

spam txs on cosmos-sdk based chains
https://github.com/julienrbrt/spamtx

cosmos-sdk testing txs

Last synced: 9 months ago
JSON representation

spam txs on cosmos-sdk based chains

Awesome Lists containing this project

README

          

# spamtx

Go tool to spam txs to a Cosmos SDK based blockchain.

> Currently, this tool only does self bank send with a memo field to save gas.

## Installation

```sh
go build -o spamtx .
```

## Usage

```sh
spamtx spam --from

--fees --memo --tps [--rpc ]
```

### Parameters

- `--from`: Your account name from keyring (must exist in keyring)
- `--fees`: Transaction fees (e.g., "1000uatom")
- `--memo`: Message to include in each transaction
- `--tps`: Transactions per second rate limit
- `--rpc`: (Optional) Custom RPC endpoint URL to override chain registry

### Example

```sh
./spamtx spam \
cosmoshub \
--from alice \
--fees 1000uatom \
--memo "spam test" \
--tps 5
```

### Example with custom RPC

```sh
./spamtx spam \
cosmoshub \
--from alice \
--fees 1000uatom \
--memo "spam test" \
--tps 5 \
--rpc http://localhost:26657
```

## Stack

- [cosmosclient](https://pkg.go.dev/github.com/ignite/cli/ignite/pkg/cosmosclient)
- [cobra](https://pkg.go.dev/github.com/spf13/cobra) for CLI