Skip to content

Commit 5ef47f8

Browse files
authored
move wallet:sign -> wallet:transactions:sign (#5256)
1 parent 6aff7c7 commit 5ef47f8

File tree

1 file changed

+10
-7
lines changed
  • ironfish-cli/src/commands/wallet/transactions

1 file changed

+10
-7
lines changed

ironfish-cli/src/commands/wallet/sign.ts renamed to ironfish-cli/src/commands/wallet/transactions/sign.ts

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@
44

55
import { CurrencyUtils, RpcClient, Transaction } from '@ironfish/sdk'
66
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'
1212

13-
export class SignTransaction extends IronfishCommand {
13+
export class TransactionsSignCommand extends IronfishCommand {
1414
static description = `Sign an unsigned transaction`
15+
16+
static hiddenAliases = ['wallet:sign']
17+
1518
static flags = {
1619
...RemoteFlags,
1720
unsignedTransaction: Flags.string({
@@ -34,7 +37,7 @@ export class SignTransaction extends IronfishCommand {
3437
}
3538

3639
async start(): Promise<void> {
37-
const { flags } = await this.parse(SignTransaction)
40+
const { flags } = await this.parse(TransactionsSignCommand)
3841
const client = await this.connectRpc()
3942

4043
if (!flags.broadcast && flags.watch) {

0 commit comments

Comments
 (0)