{"id":18245069,"url":"https://github.com/edgeapp/edge-shitcoin-server","last_synced_at":"2025-04-08T18:50:13.519Z","repository":{"id":76840093,"uuid":"88715911","full_name":"EdgeApp/edge-shitcoin-server","owner":"EdgeApp","description":"Pseudo crypto currency server to do fake transactions","archived":false,"fork":false,"pushed_at":"2017-08-05T10:12:32.000Z","size":30,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-02-14T14:55:08.187Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/EdgeApp.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":"2017-04-19T07:41:31.000Z","updated_at":"2021-05-28T02:50:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"02c7b842-1bc3-4a0d-a57a-aafe5ee1d038","html_url":"https://github.com/EdgeApp/edge-shitcoin-server","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/EdgeApp%2Fedge-shitcoin-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-shitcoin-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-shitcoin-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-shitcoin-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EdgeApp","download_url":"https://codeload.github.com/EdgeApp/edge-shitcoin-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247909138,"owners_count":21016475,"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-05T09:18:46.504Z","updated_at":"2025-04-08T18:50:13.492Z","avatar_url":"https://github.com/EdgeApp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Airbitz Shitcoin Server for serving up all the coin are belong to us\n\n`npm install`\n\n## Install CouchDB\n\n    brew install couchdb\n\n## Launch CouchDB\n\n    couchdb\n\n## Build\n\n    npm run build\n\n## Launch shitcoin API server\n\n    node lib/server.js\n\n## Launch server using `forever-service`\n\n    sudo forever-service install shitcoin -r [username] --script lib/server.js  --start\n    \n## Restart, stop, delete service\n\n    sudo service shitcoin restart\n    sudo service shitcoin stop\n    sudo forever-service delete shitcoin\n    \n# API calls\n\n## GET\n\n### Get Transaction\n\n```\nhttps://localhost:8080/api/transaction/[transaction_id]\n\n{\n  \"_id\": \"fdc5615a6658e1b5349b5b62\",\n  \"_rev\": \"1-d2907b1b6123d2bb18927580ab00eeb4\",\n  \"networkFee\": \"10\",\n  \"inputs\": [\n    {\n      \"address\": \"1oijaweoijg2aef__200\",\n      \"amount\": \"50\"\n    },\n    {\n      \"address\": \"2lkjaeoija209fa__150\",\n      \"amount\": \"70\"\n    }\n  ],\n  \"outputs\": [\n    {\n      \"address\": \"3029g2o4tiawehawlkwjf\",\n      \"amount\": \"35\"\n    },\n    {\n      \"address\": \"4029g2o4tiuhagwlkawgw\",\n      \"amount\": \"75\"\n    }\n  ]\n}\n```\n### Get Address\n\nCalling get address with an address ending in \"__[amount]\" will autofund the address with [amount] of coins.\nie. `GET https://localhost:8080/api/address/1o3iuhgiuhawet34t__250` will create an address with 250 coins.\n\nGet address must be called on an address before it can receive funds\n\n```\nhttps://localhost:8080/api/address/[address]\n\n{\n  \"_id\": \"3029g2o4tiawehawlkwjf\",\n  \"_rev\": \"2-16fe358fa8178118a0fa46e2eab1e603\",\n  \"balance\": \"35\",\n  \"txids\": [\n    \"223396f378f391f54ae81b51\",\n    \"fdc5615a6658e1b5349b5b62\"\n  ]\n}\n```\n## POST\n\n### Spend\n\nSpend from multiple addresses to multiple addresses.\n\nSend (application/json) MIME type body with following format\n\n```\nhttps://localhost:8080/api/spend\n\n{\n        \"inputs\": [\n                { \"address\": \"1oijaweoijg2aef__200\", \"amount\": \"50\" },\n                { \"address\": \"2lkjaeoija209fa__150\", \"amount\": \"70\" }\n        ],\n\n        \"outputs\": [\n                { \"address\": \"3029g2o4tiawehawlkwjf\", \"amount\": \"35\" },\n                { \"address\": \"4029g2o4tiuhagwlkawgw\", \"amount\": \"75\" }\n        ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeapp%2Fedge-shitcoin-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgeapp%2Fedge-shitcoin-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeapp%2Fedge-shitcoin-server/lists"}