{"id":18375710,"url":"https://github.com/factomproject/factom-cli1","last_synced_at":"2025-04-11T04:39:54.509Z","repository":{"id":64304436,"uuid":"72612207","full_name":"FactomProject/factom-cli1","owner":"FactomProject","description":"This is a mirror repository of milestone 1 factom-cli for historical go get","archived":false,"fork":false,"pushed_at":"2016-12-18T20:46:41.000Z","size":192,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-11T04:39:50.595Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FactomProject.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-02T06:50:28.000Z","updated_at":"2018-06-22T06:58:36.000Z","dependencies_parsed_at":"2023-01-15T10:15:21.738Z","dependency_job_id":null,"html_url":"https://github.com/FactomProject/factom-cli1","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FactomProject%2Ffactom-cli1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FactomProject%2Ffactom-cli1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FactomProject%2Ffactom-cli1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FactomProject%2Ffactom-cli1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FactomProject","download_url":"https://codeload.github.com/FactomProject/factom-cli1/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345272,"owners_count":21088241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T00:19:58.584Z","updated_at":"2025-04-11T04:39:54.482Z","avatar_url":"https://github.com/FactomProject.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Factom Command Line Interface\n===\n\nSynopsis\n------\n---\n\tfactom\n\t\t-c [ChainID]   # hex encoded chainid for the entry\n\t\t-e [extid]     # external id for the entry. -e may be used multiple times\n\t\t-h             # display help message\n\t\t-s             # path to the factomclient. default: localhost:8083\n---\nDescription\n-------\nfactom-cli takes data from the command arguments and stdin and constructs a json entry for the factomclient to decode and submit to factom.\n\nExamples\n-------\n---\nGetting the Help screen:\n\n\t$ factom-cli -h\n\t\nSubmiting arbitrary data to factom:\n\n\t$ echo \"Some data to save in factom\" | factom-cli -c \u003cmy chainid\u003e -e mydata -e somekey\n\nSubmitting a file:\n\n\t$ factom-cli -s \"factom.org/demo\" -c \u003cmy chainid\u003e -e filename \u003cfile\n\nGetting a list of all Factom and Entry Credit addresses and balances in your wallet:\n\n\t$ factom-cli getaddresses\n\t\nGetting the balance of any address (either by name, or by address):\n\n\t$ factom-cli balance fct MyAddressName\n\t$ factom-cli balance fct FA3Y6ZZbiuCjrQ5WKLFq3GaEi9drsyTJQagFVLmUU5pfPH33Dgqg\n\t$ factom-cli balance ec MyEntryCreditAddress\n\t$ factom-cli balance ec EC2W1KAv9KevaUKqA25978yMU6EJ7yBfygRmzcdpa3oHzYZRKh17\n\nCreating and submitting a transaction to move 10 factoids from MyAddress to BobsAddress \n\n\t$ factom-cli newtransaction paybob                   # Create a transaction with key 'paybob'\n\t$ factom-cli addinput paybob MyAddress 10.1          # Add input plus fee to 'paybob'\n\t$ factom-cli addoutput paybob BobsAddress 10         # Bob gets 10 Factoids to 'paybob'\n\t$ factom-cli sign paybob                             # sign the 'paybob' transaction\n\t$ factom-cli submit paybob                           # submit the 'paybob' transaction\n\t\nPurchase 1 factoid worth of Entry Credits and attach them to the Entry Credit Address myEC\n\n\t$ factom-cli newtransaction buyec                    # Create a transaction with key 'buyec'\n\t$ factom-cli addinput buyec MyAddress 1.1            # Add input plus fee to 'buyec'\n\t$ factom-cli addecoutput buyec myEC 1                # 1 Factoid worth of EC credits to myEC\n\t$ factom-cli sign buyec                              # sign 'buyec'\n\t$ factom-cli submit buyec                            # submit 'buyec'\n\t\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffactomproject%2Ffactom-cli1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffactomproject%2Ffactom-cli1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffactomproject%2Ffactom-cli1/lists"}