18 lines
393 B
Markdown
18 lines
393 B
Markdown
## How to process distribution for users
|
|
|
|
1. Create `csv` files with the following format
|
|
|
|
### Distribution table
|
|
|
|
| uid | currency_id | amount |
|
|
|---------------|-------------|--------|
|
|
| ID1000003837 | usdt | 100 |
|
|
|
|
uid, currency_id, amount - required params
|
|
|
|
2. For process distribution
|
|
|
|
```ruby
|
|
bundle exec rake distribution:process['file_name.csv']
|
|
```
|