{"id":18375757,"url":"https://github.com/factomproject/fer-api","last_synced_at":"2025-07-12T16:03:14.504Z","repository":{"id":79532930,"uuid":"155766542","full_name":"FactomProject/fer-api","owner":"FactomProject","description":"This is a program that exposes an API to generate FER json objects","archived":false,"fork":false,"pushed_at":"2018-12-11T17:24:15.000Z","size":1771,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":18,"default_branch":"develop","last_synced_at":"2025-04-11T04:39:49.466Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"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":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-01T19:38:58.000Z","updated_at":"2018-12-11T17:24:17.000Z","dependencies_parsed_at":"2023-05-01T10:31:28.850Z","dependency_job_id":null,"html_url":"https://github.com/FactomProject/fer-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FactomProject%2Ffer-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FactomProject%2Ffer-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FactomProject%2Ffer-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FactomProject%2Ffer-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FactomProject","download_url":"https://codeload.github.com/FactomProject/fer-api/tar.gz/refs/heads/develop","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:20:12.320Z","updated_at":"2025-04-11T04:39:53.462Z","avatar_url":"https://github.com/FactomProject.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FEREntryCreator\nThis is a clone of github.com/FactomProject/FEREntryCreator changed into an API to produce entries into the Factoid Exchange Rate (FER) chain.\n\nThis is made to return the commit entry message and the reveal for that entry.\nNOT the full curl commands like `github.com/FactomProject/FEREntryCreator` returns.\n\n# Setup\n---\n`$ cd go/src/github.com/FactomProject`\n`$ git clone git@github.com:FactomProject/fer-api.git`\n`$ cd fer-api`\n`$ go install`\n`$ fer-api` \u003c- runs the application\n\nYou should see:\n \u003e 2018/11/02 11:14:53 web.go serving :9999\n\n ** factomd needs to be running to change Entry rate price**\n\n# Setting Up Factomd for LOCAL entry rate price change\n---\nhttps://factom.atlassian.net/wiki/spaces/SOF/pages/543457281/2018+test+FER+exchange+rate+system\nThat link has full intructions for changing exchange rate price, but for this application we only need the beginning until it syas \"Install FEREntryCreator\"\n\nAfter running through all of this steps the factomd environment is ready to run `fer-api`\n\n# Calling API\n---\nURL: `http://localhost:9999/change-price`\nBody Example: `{\"jsonrpc\": \"2.0\", \"id\": 0, \"params\":{\"expiration-height\":\"95\", \"activation-height\":\"94\", \"priority\":\"1\", \"new-price-per-EC\":\"6000\"}}`\n* `\"expiration-height\"`: recommended to be +4 of your current block height.\n* `\"activation-height\"`: recommended to be +3 of your current block height.\n* `\"priority\"`: 1\n* `\"new-price-per-EC\"`: is the new entry credit price.\n\nhttps://documenter.getpostman.com/view/4066798/RzZ4pM3h#intro\n \u003e This is a link for a Postman setup with documentation for this call.\n \u003e You can import to your Postman application by clicking \"Run in Postman\" button at hte top right of the screen.\n\n# Notes\n---\nAll of that can be made into Curl commands, but github.com/FactomProject/FEREntryCreator is made for Curl commands. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffactomproject%2Ffer-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffactomproject%2Ffer-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffactomproject%2Ffer-api/lists"}