archethic-foundation / archethic-foundation/archethic-cli

Add a page to the TUI to call a contract's public function

Open
#51 0 comments 0 reactions 0 assignees View on GitHub
TUI
Dominant language
Go
Stars
0
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Should probably do it after https://github.com/archethic-foundation/archethic-cli/issues/50

The tricky part of this ticket is the `args` parameter. Since there are as many as we want and they can be of any type.
On the playground we have a list of json (1 json for each parameter).
Maybe we can use the same behaviour

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing issue #50, since this work is intended to follow it, then compare the playground's handling of one JSON value per contract parameter. Define what the new TUI page must do for a contract's public function and arbitrary typed args; done means the page can invoke the function with those arguments.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.