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
- Host: GitHub
- URL: https://github.com/julienrbrt/spamtx
- Owner: julienrbrt
- Created: 2025-09-16T13:15:08.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-09-16T17:42:01.000Z (10 months ago)
- Last Synced: 2025-09-16T17:56:38.572Z (10 months ago)
- Topics: cosmos-sdk, testing, txs
- Language: Go
- Homepage:
- Size: 79.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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