Add ability to invoke as a read-only simulate transaction only

Open
#221 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust
Domain
blockchain, cli

Research direction

Start with the invoke command implementation and trace how credentials, the network passphrase, simulation, and submission are currently handled. Done means a read-only option can invoke contracts through simulation without a secret key or network passphrase and never submits the invocation to the network; add coverage for that behavior if the existing command tests are found.

Written by the indexing model from the issue text.

Description

cli

We need to be able to invoke contracts in readonly mode, where we expect no affect to take place.

We should add an option to the invoke command to allow a user to choose to be doing this.

In that mode there shouldn't be a need for a secret key or a network passphrase, and the invocation should only run simulation, it shouldn't submit the actual invocation to the network.

cc @tyvdh @2opremio

Dominant language
Rust
Stars
123
Forks
141
Avg merge
2d 21h
Merged PRs (30d)
17

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stellar/stellar-cli

All issues in stellar/stellar-cli

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.