CLI Command to display how many Credits you receive per ACME

Description

CLI Command to display how many Credits you receive per ACME

Implementation plan

  • Add a subcommand accumulate oracle

  • Query the latest data entry from dn/oracle

  • JSON unmarshal the result as protocol.AcmeOracle

  • Convert the price into USD according to protocol.AcmeOraclePrecision

  • Print out the price

relates to

Activity

Show:

Automation for Jira March 3, 2022 at 7:16 PM

Ethan Reesor merged "feat(cli): add a command to show the oracle" (!166)

Automation for Jira March 3, 2022 at 7:16 PM

Abhishek Ranjan pushed 0 commit(s):

Automation for Jira March 3, 2022 at 7:16 PM

Ethan Reesor approved "feat(cli): add a command to show the oracle" (!166)

Automation for Jira March 3, 2022 at 3:26 PM

Abhishek Ranjan pushed 1 commit(s): "validation update" by Abhishek on 2022-03-03T20:55:59+05:30

Automation for Jira March 3, 2022 at 2:30 PM

Abhishek Ranjan pushed 18 commit(s): "ci: fix" by Ethan Reesor on 2022-03-01T04:58:10+00:00, "Merge branch 'AC-1161' into 'develop'" by Paul Snow on 2022-03-01T04:58:10+00:00, "fix(prot): disable nonces for the faucet" by Ethan Reesor on 2022-03-01T20:43:40+00:00, "Merge branch 'AC-1161-again' into 'develop'" by Dennis B on 2022-03-01T20:43:41+00:00, "feat(infra): prometheus and ec2 configurations" by Stephen Appiah on 2022-03-01T20:46:52+00:00, "Merge branch 'AC-778' into 'develop'" by Ethan Reesor on 2022-03-01T20:46:52+00:00, "fix(prot): spurrious oracle error" by Ethan Reesor on 2022-03-02T04:07:34+00:00, "Merge branch 'AC-1159' into 'develop'" by Ethan Reesor on 2022-03-02T04:07:35+00:00, "feat(daemon): add run-dual" by Ethan Reesor on 2022-03-02T04:08:58+00:00, "Merge branch 'AC-1158' into 'develop'" by Dennis B on 2022-03-02T04:08:58+00:00, "chore(prot): use a badger transaction" by Ethan Reesor on 2022-03-02T04:57:53+00:00, "Merge branch 'AC-1098' into 'develop'" by Dennis B on 2022-03-02T04:57:53+00:00, "feat(daemon): connect nodes directly" by Ethan Reesor on 2022-03-02T05:50:30+00:00, "Merge branch 'AC-1148' into 'develop'" by Ethan Reesor on 2022-03-02T05:50:30+00:00, "feat(prot): add support for etcd storage backend" by Ethan Reesor on 2022-03-02T18:41:59+00:00, "Merge branch 'AC-1131' into 'develop'" by Ethan Reesor on 2022-03-02T18:41:59+00:00, "Merge branch 'develop' of https://gitlab.com/accumulatenetwork/accumulate into..." by Abhishek on 2022-03-03T19:52:13+05:30, "suggested change and validation update" by Abhishek on 2022-03-03T20:00:03+05:30

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Abhishek Ranjan

Reporter

Validation

Actual start

Feb 25, 2022, 11:19 AM

Actual end

Mar 06, 2022, 1:40 PM
Created February 14, 2022 at 5:42 PM
Updated September 9, 2022 at 10:20 PM
Resolved March 6, 2022 at 1:40 PM