4
4
5
5
import { CurrencyUtils , RpcClient , Transaction } from '@ironfish/sdk'
6
6
import { Flags } from '@oclif/core'
7
- import { IronfishCommand } from '../../command'
8
- import { RemoteFlags } from '../../flags'
9
- import { longPrompt } from '../../utils/input'
10
- import { Ledger } from '../../utils/ledger'
11
- import { renderTransactionDetails , watchTransaction } from '../../utils/transaction'
7
+ import { IronfishCommand } from '../../../ command'
8
+ import { RemoteFlags } from '../../../ flags'
9
+ import { longPrompt } from '../../../ utils/input'
10
+ import { Ledger } from '../../../ utils/ledger'
11
+ import { renderTransactionDetails , watchTransaction } from '../../../ utils/transaction'
12
12
13
- export class SignTransaction extends IronfishCommand {
13
+ export class TransactionsSignCommand extends IronfishCommand {
14
14
static description = `Sign an unsigned transaction`
15
+
16
+ static hiddenAliases = [ 'wallet:sign' ]
17
+
15
18
static flags = {
16
19
...RemoteFlags ,
17
20
unsignedTransaction : Flags . string ( {
@@ -34,7 +37,7 @@ export class SignTransaction extends IronfishCommand {
34
37
}
35
38
36
39
async start ( ) : Promise < void > {
37
- const { flags } = await this . parse ( SignTransaction )
40
+ const { flags } = await this . parse ( TransactionsSignCommand )
38
41
const client = await this . connectRpc ( )
39
42
40
43
if ( ! flags . broadcast && flags . watch ) {
0 commit comments