{"id":19747503,"url":"https://github.com/phantasma-io/otc","last_synced_at":"2025-02-28T00:20:23.574Z","repository":{"id":237344315,"uuid":"770350245","full_name":"phantasma-io/OTC","owner":"phantasma-io","description":"Phantasma - Over the Counter (OTC)","archived":false,"fork":false,"pushed_at":"2024-03-11T11:59:09.000Z","size":90,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-10T21:09:08.836Z","etag":null,"topics":["blockchain","crypto","cryptocurrency","layer1","otc","phantasma","phantasmachain","phantasmaio","smartnft","smartnfts"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/phantasma-io.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-11T11:58:49.000Z","updated_at":"2024-03-11T12:00:11.000Z","dependencies_parsed_at":"2024-05-01T00:54:55.146Z","dependency_job_id":null,"html_url":"https://github.com/phantasma-io/OTC","commit_stats":null,"previous_names":["phantasma-io/otc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phantasma-io%2FOTC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phantasma-io%2FOTC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phantasma-io%2FOTC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phantasma-io%2FOTC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phantasma-io","download_url":"https://codeload.github.com/phantasma-io/OTC/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241078480,"owners_count":19905866,"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":["blockchain","crypto","cryptocurrency","layer1","otc","phantasma","phantasmachain","phantasmaio","smartnft","smartnfts"],"created_at":"2024-11-12T02:18:02.517Z","updated_at":"2025-02-28T00:20:23.537Z","avatar_url":"https://github.com/phantasma-io.png","language":"CSS","readme":"# OTC\nThis project is to do Over the Counter trading (OTC).\n\n# How to Test\n1. Run Spook\n1. Run the OTC project\n3. Configure Poltergeist\n4. Use OTC\n\n## 1. Run Spook\nTo run Spook you need to have it and compile it. [Spook](https://github.com/phantasma-io/Spook)\n\u003e Go to Spook Debug folder ```%FolderStructure%\\Spook\\Spook\\bin\\Debug\\netcoreapp3.1```\nTo run Spook.\n1. Open a terminal window, and run the ```./spook-cli.exe```\n\n## 2. Run the OTC project\nTo run OTC.\n* First you need to compile the project by open it and go to Build\u003eBuild Solution\n* If you have Visual Studio open the OTC.sln and run it.\n* If not, Open a terminal window inside the Server Folder and execute this command ```dotnet run ./Backend/bin/Debug/netcoreapp3.1/OTC.dll --path=../Frontend/```\n* If it doesn't run, try executing with this command ```dotnet run ./Backend/bin/Debug/netcoreapp3.1/OTC.dll --port=80 --env=prod --path=./Frontend/ --phantasma.rest=http://localhost:7078/api --api=http://localhost:7077/rpc -cache.path=Cache```\n\n## 3. Configure Poltergeist\nTo Run poltergeist you need to have [Poltergeist](https://github.com/phantasma-io/Poltergeist/releases/tag/v2.5.1)\n1. Download it.\n2. Unzip the zip folder.\n3. Run it.\n\n### To configure\n1. Go to settings\n2. On nexus choose Local Net\n3. Click on the Confirm Button\n4. Import a wallet, in these case it should be the test wallet with the WIF ```L2LGgkZAdupN2ee8Rs6hpkc65zaGcLbxhbSDGq8oh6umUxxzeW25```\n\n## 4. Use OTC\nTo use OTC you need to have Spook running, Poltergeist running and OTC running.\nTo Access it you need to open a web browser and go to http://localhost/ or http://127.0.0.1/\n1. Choose the poltergeist button and allow the dapp on the poltergeist client.\n2. Take a look, create your offer and have fun. :)\n\n## Problems\nAfter following these steps and it doesn't work, try this.\nClean all the projects and Compile them and try again from step one.\nIf it still doesn't work, contact @Tek or @Relfos\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphantasma-io%2Fotc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphantasma-io%2Fotc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphantasma-io%2Fotc/lists"}