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

https://github.com/shalakhin/eosender

send multiple EOS transfers in one transaction with a CLI command
https://github.com/shalakhin/eosender

blockchain eos eosjs typescript

Last synced: 4 months ago
JSON representation

send multiple EOS transfers in one transaction with a CLI command

Awesome Lists containing this project

README

        

eosender
========

multiple sending tokens with EOS blockchain. The goal for this CLI command is to execute multiple actions within one transaction

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/eosender.svg)](https://npmjs.org/package/eosender)
[![Downloads/week](https://img.shields.io/npm/dw/eosender.svg)](https://npmjs.org/package/eosender)
[![License](https://img.shields.io/npm/l/eosender.svg)](https://github.com/shalakhin/eosender/blob/master/package.json)

## install

1. Install it with npm

```bash
npm install -g eosender
```

2. setup config

By default, it will be searched at `$HOME` folder as `$HOME/.eosender.yml` but you can override it with `eosender --config `

```yaml
uri: some-eos-node-url
sender:
username: username
privateKey: privateKey
pcash: false
```

`pcash: false` means do not treat the token as token.pcash with its fees logic. Otherwise if set `pcash: true` fee will be calculated.

- with `pcash: false` if 333 set for transfer 333
- with `pcash: true` if 333 set for transfer 333.83458

## usage

```bash
eosender
```

file format:

```csv
username1,contract,amount,tokenName,memo
```

file example:

```csv
user1,eosio.token,10.0000,EOS,nice memo here
user2,eosio.token,10.0000,SYS,super-duper
user3,eos.usdt,10.0000,USDT,
```