use-ink/cargo-contract

Add ability to output signed extrinsic / encoded call

Open

#528 geöffnet am 24. Apr. 2022

Auf GitHub ansehen
 (0 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Rust (127 Forks)github user discovery
enhancementgood first issue

Repository-Metriken

Stars
 (280 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Instead of submitting an extrinsic we should be able to output the signed extrinsic and the encoded call. This can be useful if you want to submit the extrinsic to some other RPCs manually or want to do some inspection.

  • Add --no-submit which skips the submission and prints the extrinsic instead
  • Add --print-extrinsic which do the submission but also prints the (signed) extrinsic

These commands should also print the data passed to the extrinsic in addition the encoded extrinsic (input bytes to the contract). #573 exposes this as separate command.

Contributor Guide