{"id":27946301,"url":"https://github.com/jeffneff/partybridge","last_synced_at":"2025-05-07T13:53:21.021Z","repository":{"id":241731170,"uuid":"689036544","full_name":"JeffNeff/PartyBridge","owner":"JeffNeff","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-08T16:40:48.000Z","size":175,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-29T22:05:35.509Z","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/JeffNeff.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":"2023-09-08T16:37:51.000Z","updated_at":"2024-05-29T22:06:09.994Z","dependencies_parsed_at":"2024-05-29T22:06:00.952Z","dependency_job_id":"3b27e146-bbb0-4195-bcb9-14689e630769","html_url":"https://github.com/JeffNeff/PartyBridge","commit_stats":null,"previous_names":["jeffneff/partybridge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffNeff%2FPartyBridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffNeff%2FPartyBridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffNeff%2FPartyBridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffNeff%2FPartyBridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JeffNeff","download_url":"https://codeload.github.com/JeffNeff/PartyBridge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252892505,"owners_count":21820645,"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":"2025-05-07T13:53:19.356Z","updated_at":"2025-05-07T13:53:21.016Z","avatar_url":"https://github.com/JeffNeff.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n## requestBridge\n\n### GRAMS -\u003e OCTA\n\ncurl -v \"http://192.168.50.23:8080/requestBridge\" \\\n       -X POST \\\n       -H \"Content-Type: application/json\" \\\n       -d '{\"currency\":\"grams\",\"fromChain\":\"grams\", \"amount\": 10000, \"bridgeTo\":\"octa\",\"shippingAddress\":\"0x5bbfa5724260Cb175cB39b24802A04c3bfe72eb3\"}'\n\ncurl -v \"http://0.0.0.0:8080/requestBridge\" \\\n       -X POST \\\n       -H \"Content-Type: application/json\" \\\n       -d '{\"currency\":\"wgrams\",\"fromChain\":\"octa\", \"amount\": 10000, \"bridgeTo\":\"grams\",\"shippingAddress\":\"0x5bbfa5724260Cb175cB39b24802A04c3bfe72eb3\"}'\n  \n### OCTA -\u003e GRAMS\n\ncurl -v \"http://0.0.0.0:8080/requestBridge\" \\\n       -X POST \\\n       -H \"Content-Type: application/json\" \\\n       -d '{\"currency\":\"octa\",\"fromChain\":\"octa\", \"amount\": 10000, \"bridgeTo\":\"grams\",\"shippingAddress\":\"0x5bbfa5724260Cb175cB39b24802A04c3bfe72eb3\"}'\n\ncurl -v \"http://0.0.0.0:8080/requestBridge\" \\\n       -X POST \\\n       -H \"Content-Type: application/json\" \\\n       -d '{\"currency\":\"wocta\",\"fromChain\":\"grams\", \"amount\": 10000, \"bridgeTo\":\"octa\",\"shippingAddress\":\"0x5bbfa5724260Cb175cB39b24802A04c3bfe72eb3\"}'\n\n\n### BSCUSDT -\u003e GRAMS\n\ncurl -v \"http://0.0.0.0:8080/requestBridge\" \\\n       -X POST \\\n       -H \"Content-Type: application/json\" \\\n       -d '{\"currency\":\"grams\",\"fromChain\":\"bscusdt\", \"amount\": 10000, \"bridgeTo\":\"grams\",\"shippingAddress\":\"0x5bbfa5724260Cb175cB39b24802A04c3bfe72eb3\"}'\n\n\n\n\n\nGenerate the private key:\n\nuse the script located in /tls folder\n\n##\n\n```\n@startuml\nUser -\u003e Bridge : Connect WS\nBridge -\u003e User: {\"type\":\"hello\",\"sid\":\"27544e25-e188-48f8-9962-6990a96e21cd\",\"fee\":12,\"minimumAmount\":10}\nUser -\u003e Bridge: {\"type\": \"requestBridge\", \"data\": {\"currency\":\"octa\",\"amount\":11000000000000000000,\"fromChain\":\"octa\",\"bridgeTo\":\"grams\",\"shippingAddress\":\"0x5eb565b14b39171c187d5a260789685042e85eca\"}}\nBridge -\u003e User: {\"type\":\"requestBridgeResponse\",\"amount\":23000000000000000000,\"address\":\"0x1bb31C541CeEaA6ce55937BF36542aa079e04DE5\"}\nUser -\u003e Bridge: {\"type\": \"confirmBridge\", \"tx\": \"0x1d4aaa350099df1c302639816e18c4163c8fad7ccde485fa8914059f1100787b\"}\nBridge -\u003e User: Disconnect WS\n@enduml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffneff%2Fpartybridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeffneff%2Fpartybridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffneff%2Fpartybridge/lists"}