Skip to content

Commit 85635de

Browse files
committed
Replace simd with heimdalld
Update auth, balance transfer and governance with heimdalld instead of simd for the cosmos modules
1 parent 0cfe444 commit 85635de

File tree

4 files changed

+73
-73
lines changed

4 files changed

+73
-73
lines changed

docs/pos/architecture/heimdall_v2/authentication.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ signature verification, as well as costs proportional to the tx size. Operators
3535
should set minimum gas prices when starting their nodes. They must set the unit
3636
costs of gas in each token denomination they wish to support:
3737

38-
`simd start ... --minimum-gas-prices=0.00001stake;0.05photinos`
38+
`heimdalld start ... --minimum-gas-prices=0.00001stake;0.05photinos`
3939

4040
When adding transactions to mempool or gossipping transactions, validators check
4141
if the transaction's gas prices, which are determined by the provided fees, meet
@@ -234,21 +234,21 @@ A user can query and interact with the `auth` module using the CLI.
234234
The `query` commands allow users to query `auth` state.
235235

236236
```bash
237-
simd query auth --help
237+
heimdalld query auth --help
238238
```
239239

240240
#### account
241241

242242
The `account` command allow users to query for an account by it's address.
243243

244244
```bash
245-
simd query auth account [address] [flags]
245+
heimdalld query auth account [address] [flags]
246246
```
247247

248248
Example:
249249

250250
```bash
251-
simd query auth account cosmos1...
251+
heimdalld query auth account cosmos1...
252252
```
253253

254254
Example Output:
@@ -268,13 +268,13 @@ sequence: "1"
268268
The `accounts` command allow users to query all the available accounts.
269269

270270
```bash
271-
simd query auth accounts [flags]
271+
heimdalld query auth accounts [flags]
272272
```
273273

274274
Example:
275275

276276
```bash
277-
simd query auth accounts
277+
heimdalld query auth accounts
278278
```
279279

280280
Example Output:
@@ -367,13 +367,13 @@ pagination:
367367
The `params` command allow users to query the current auth parameters.
368368

369369
```bash
370-
simd query auth params [flags]
370+
heimdalld query auth params [flags]
371371
```
372372

373373
Example:
374374

375375
```bash
376-
simd query auth params
376+
heimdalld query auth params
377377
```
378378

379379
Example Output:
@@ -396,47 +396,47 @@ The `auth` module supports transactions commands to help you with signing and mo
396396
Use directly the `--help` flag to get more information about the `tx` command.
397397

398398
```bash
399-
simd tx --help
399+
heimdalld tx --help
400400
```
401401

402402
#### `sign`
403403

404404
The `sign` command allows users to sign transactions that was generated offline.
405405

406406
```bash
407-
simd tx sign tx.json --from $ALICE > tx.signed.json
407+
heimdalld tx sign tx.json --from $ALICE > tx.signed.json
408408
```
409409

410410
The result is a signed transaction that can be broadcasted to the network thanks to the broadcast command.
411411

412-
More information about the `sign` command can be found running `simd tx sign --help`.
412+
More information about the `sign` command can be found running `heimdalld tx sign --help`.
413413

414414
#### `sign-batch`
415415

416416
The `sign-batch` command allows users to sign multiples offline generated transactions.
417417
The transactions can be in one file, with one tx per line, or in multiple files.
418418

419419
```bash
420-
simd tx sign txs.json --from $ALICE > tx.signed.json
420+
heimdalld tx sign txs.json --from $ALICE > tx.signed.json
421421
```
422422

423423
or
424424

425425
```bash
426-
simd tx sign tx1.json tx2.json tx3.json --from $ALICE > tx.signed.json
426+
heimdalld tx sign tx1.json tx2.json tx3.json --from $ALICE > tx.signed.json
427427
```
428428

429429
The result is multiples signed transactions. For combining the signed transactions into one transactions, use the `--append` flag.
430430

431-
More information about the `sign-batch` command can be found running `simd tx sign-batch --help`.
431+
More information about the `sign-batch` command can be found running `heimdalld tx sign-batch --help`.
432432

433433
#### `multi-sign`
434434

435435
The `multi-sign` command allows users to sign transactions that was generated offline by a multisig account.
436436
The multi signature functionality is not supported by Heimdall.
437437

438438
```bash
439-
simd tx multisign transaction.json k1k2k3 k1sig.json k2sig.json k3sig.json
439+
heimdalld tx multisign transaction.json k1k2k3 k1sig.json k2sig.json k3sig.json
440440
```
441441

442442
Where `k1k2k3` is the multisig account address, `k1sig.json` is the signature of the first signer, `k2sig.json` is the signature of the second signer, and `k3sig.json` is the signature of the third signer.
@@ -447,50 +447,50 @@ To allow transactions to be signed by nested multisigs, meaning that a participa
447447

448448
```bash
449449
# First aggregate signatures of the multisig participant
450-
simd tx multi-sign transaction.json ms1 ms1p1sig.json ms1p2sig.json --signature-only --skip-signature-verification > ms1sig.json
450+
heimdalld tx multi-sign transaction.json ms1 ms1p1sig.json ms1p2sig.json --signature-only --skip-signature-verification > ms1sig.json
451451

452452
# Then use the aggregated signatures and the other signatures to sign the final transaction
453-
simd tx multi-sign transaction.json k1ms1 k1sig.json ms1sig.json --skip-signature-verification
453+
heimdalld tx multi-sign transaction.json k1ms1 k1sig.json ms1sig.json --skip-signature-verification
454454
```
455455

456456
Where `ms1` is the nested multisig account address, `ms1p1sig.json` is the signature of the first participant of the nested multisig account, `ms1p2sig.json` is the signature of the second participant of the nested multisig account, and `ms1sig.json` is the aggregated signature of the nested multisig account.
457457

458458
`k1ms1` is a multisig account comprised of an individual signer and another nested multisig account (`ms1`). `k1sig.json` is the signature of the first signer of the individual member.
459459

460-
More information about the `multi-sign` command can be found running `simd tx multi-sign --help`.
460+
More information about the `multi-sign` command can be found running `heimdalld tx multi-sign --help`.
461461

462462
#### `multisign-batch`
463463

464464
The `multisign-batch` works the same way as `sign-batch`, but for multisig accounts.
465465
With the difference that the `multisign-batch` command requires all transactions to be in one file, and the `--append` flag does not exist.
466466
The multi signature functionality is not supported by Heimdall.
467467

468-
More information about the `multisign-batch` command can be found running `simd tx multisign-batch --help`.
468+
More information about the `multisign-batch` command can be found running `heimdalld tx multisign-batch --help`.
469469

470470
#### `validate-signatures`
471471

472472
The `validate-signatures` command allows users to validate the signatures of a signed transaction.
473473

474474
```bash
475-
$ simd tx validate-signatures tx.signed.json
475+
$ heimdalld tx validate-signatures tx.signed.json
476476
Signers:
477477
0: 0x...
478478

479479
Signatures:
480480
0: 0x... [OK]
481481
```
482482

483-
More information about the `validate-signatures` command can be found running `simd tx validate-signatures --help`.
483+
More information about the `validate-signatures` command can be found running `heimdalld tx validate-signatures --help`.
484484

485485
#### `broadcast`
486486

487487
The `broadcast` command allows users to broadcast a signed transaction to the network.
488488

489489
```bash
490-
simd tx broadcast tx.signed.json
490+
heimdalld tx broadcast tx.signed.json
491491
```
492492

493-
More information about the `broadcast` command can be found running `simd tx broadcast --help`.
493+
More information about the `broadcast` command can be found running `heimdalld tx broadcast --help`.
494494

495495

496496
### gRPC

docs/pos/architecture/heimdall_v2/balance-transfers.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -576,21 +576,21 @@ A user can query and interact with the `bank` module using the CLI.
576576
The `query` commands allow users to query `bank` state.
577577

578578
```shell
579-
simd query bank --help
579+
heimdalld query bank --help
580580
```
581581

582582
##### balances
583583

584584
The `balances` command allows users to query account balances by address.
585585

586586
```shell
587-
simd query bank balances [address] [flags]
587+
heimdalld query bank balances [address] [flags]
588588
```
589589

590590
Example:
591591

592592
```shell
593-
simd query bank balances cosmos1..
593+
heimdalld query bank balances cosmos1..
594594
```
595595

596596
Example Output:
@@ -609,13 +609,13 @@ pagination:
609609
The `denom-metadata` command allows users to query metadata for coin denominations. A user can query metadata for a single denomination using the `--denom` flag or all denominations without it.
610610

611611
```shell
612-
simd query bank denom-metadata [flags]
612+
heimdalld query bank denom-metadata [flags]
613613
```
614614

615615
Example:
616616

617617
```shell
618-
simd query bank denom-metadata --denom stake
618+
heimdalld query bank denom-metadata --denom stake
619619
```
620620

621621
Example Output:
@@ -638,13 +638,13 @@ metadata:
638638
The `total` command allows users to query the total supply of coins. A user can query the total supply for a single coin using the `--denom` flag or all coins without it.
639639

640640
```shell
641-
simd query bank total [flags]
641+
heimdalld query bank total [flags]
642642
```
643643

644644
Example:
645645

646646
```shell
647-
simd query bank total --denom stake
647+
heimdalld query bank total --denom stake
648648
```
649649

650650
Example Output:
@@ -659,13 +659,13 @@ denom: stake
659659
The `send-enabled` command allows users to query for all or some SendEnabled entries.
660660

661661
```shell
662-
simd query bank send-enabled [denom1 ...] [flags]
662+
heimdalld query bank send-enabled [denom1 ...] [flags]
663663
```
664664

665665
Example:
666666

667667
```shell
668-
simd query bank send-enabled
668+
heimdalld query bank send-enabled
669669
```
670670

671671
Example output:
@@ -685,21 +685,21 @@ pagination:
685685
The `tx` commands allow users to interact with the `bank` module.
686686

687687
```shell
688-
simd tx bank --help
688+
heimdalld tx bank --help
689689
```
690690

691691
##### send
692692

693693
The `send` command allows users to send funds from one account to another.
694694

695695
```shell
696-
simd tx bank send [from_key_or_address] [to_address] [amount] [flags]
696+
heimdalld tx bank send [from_key_or_address] [to_address] [amount] [flags]
697697
```
698698

699699
Example:
700700

701701
```shell
702-
simd tx bank send cosmos1.. cosmos1.. 100stake
702+
heimdalld tx bank send cosmos1.. cosmos1.. 100stake
703703
```
704704

705705
## gRPC

0 commit comments

Comments
 (0)