meriadec
6 years ago
No known key found for this signature in database
GPG Key ID: 1D2FC2305E2CB399
2 changed files with
3 additions and
5 deletions
-
scripts/cli/cli.sh
-
scripts/cli/txBetweenAccounts.js
|
|
@ -6,4 +6,4 @@ export LEDGER_LOGS_DIRECTORY="$LEDGER_DATA_DIR/logs" |
|
|
|
export LEDGER_LIVE_SQLITE_PATH="$LEDGER_DATA_DIR/sqlite" |
|
|
|
export CLI=1 |
|
|
|
|
|
|
|
node -r @babel/register scripts/cli/txBetweenAccounts.js |
|
|
|
node -r @babel/register -r @babel/polyfill scripts/cli/txBetweenAccounts.js |
|
|
|
|
|
@ -4,17 +4,15 @@ import chalk from 'chalk' |
|
|
|
import path from 'path' |
|
|
|
import fs from 'fs' |
|
|
|
import inquirer from 'inquirer' |
|
|
|
import { createAccountModel } from '@ledgerhq/live-common/lib/models/account' |
|
|
|
import { formatCurrencyUnit } from '@ledgerhq/live-common/lib/helpers/currencies' |
|
|
|
import { formatCurrencyUnit } from '@ledgerhq/live-common/lib/currencies' |
|
|
|
|
|
|
|
import 'globals' |
|
|
|
import withLibcore from 'helpers/withLibcore' |
|
|
|
import accountModel from 'helpers/accountModel' |
|
|
|
import { doSignAndBroadcast } from 'commands/libcoreSignAndBroadcast' |
|
|
|
|
|
|
|
import getDevice from './getDevice' |
|
|
|
|
|
|
|
const accountModel = createAccountModel() |
|
|
|
|
|
|
|
async function main() { |
|
|
|
try { |
|
|
|
// GET ACCOUNTS
|
|
|
|