{"id":23329108,"url":"https://github.com/neo-vortex/sharpbridge","last_synced_at":"2025-04-07T08:59:16.413Z","repository":{"id":65236359,"uuid":"587350107","full_name":"Neo-vortex/SharpBridge","owner":"Neo-vortex","description":"A .net implementation of WalletConnect protocol v1 ","archived":false,"fork":false,"pushed_at":"2023-01-14T11:23:05.000Z","size":1299,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T12:44:20.208Z","etag":null,"topics":["aspnetcore","dotnet-core","walletconnect","websocket"],"latest_commit_sha":null,"homepage":"","language":"C#","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/Neo-vortex.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}},"created_at":"2023-01-10T14:49:58.000Z","updated_at":"2025-01-01T07:17:00.000Z","dependencies_parsed_at":"2023-01-15T19:00:42.529Z","dependency_job_id":null,"html_url":"https://github.com/Neo-vortex/SharpBridge","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/Neo-vortex%2FSharpBridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neo-vortex%2FSharpBridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neo-vortex%2FSharpBridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neo-vortex%2FSharpBridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Neo-vortex","download_url":"https://codeload.github.com/Neo-vortex/SharpBridge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247623009,"owners_count":20968574,"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":["aspnetcore","dotnet-core","walletconnect","websocket"],"created_at":"2024-12-20T21:32:10.966Z","updated_at":"2025-04-07T08:59:16.384Z","avatar_url":"https://github.com/Neo-vortex.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Sharp Bridge\n\nA .NET implemation of WalletConnect Bridge (https://walletconnect.com/), designed to be highly responsive.\nIt is using ASP.NET Core websocket.\n\n\n\n## Motivation\nMotivation\nMy motiviation for writing this implementation is that the official server (wss://bridge.walletconnect.org) does not seem consistently reliable. Messages are often only dispatched with a considerable delay and sometimes disappear entirely. While part of that can probably be attributed to a high load, part of that is probably also attributable to some flaws in the implementation.\n## Running the bridge\n### Manual\nYou will need dotnet 7 to run the Bridge (https://dotnet.microsoft.com/en-us/download/dotnet/7.0), \nRunning the bridge should be pretty easy. just use ```dotnet run``` command and its done!. You will get an output like this : \n```csharp\ninfo: Microsoft.Hosting.Lifetime[14]\n      Now listening on: http://0.0.0.0:5296\ninfo: Microsoft.Hosting.Lifetime[0]\n      Application started. Press Ctrl+C to shut down.\ninfo: Microsoft.Hosting.Lifetime[0]\n      Hosting environment: Development\ninfo: Microsoft.Hosting.Lifetime[0]\n      Content root path: /home/neo/Personal/SharpBridge/SharpBridge\n\n```\nThen you can connect to the bridge with this url ```http://[IP]:[Port]/v1/ws```\n### Docker\nThere is also a dockerfile availble for this project, you can simple build and run the dockerfile, bridge will be availble at ```http://[IP]:5001/v1/ws```\n\n## Documentation\nWalletConnect protocol for version 1 is pretty simple. It is a pub/sub pattern with ack message after each part recives the packet.\nThese Notes are important while using this implemation.\n### Lifetime\nMessages are kept alive for two minutes if not deliverd rightaway. you can change this lifetime in the code as you want.\n### Multi sub/pub support\nThis implementation supports multiple sub/pub per Topic. Unlike some other implementation like [This](https://github.com/aktionariat/walletconnect-bridge)\n\n## Features\n\n- Multithreded and thred-safe implemation.\n- All in-memory operation (no disk activity or database connection)\n- Responsive\n- Cross platform\n- Flexable (you can change messages lifetime and ...)\n\n\n\n## Roadmap\n\n- Support Version 2 of WalletConnect\n\n- Add optinal Redis database option to keep the heap small\n\n- Faster JSON serilize and deserilize with source generation in C#\n\n- Writing Tests\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n\n## Tech Stack\n\n\n**Server:** dotnet 7, C#\n\n\n## Feedback\n\nIf you have any feedback, please reach out to us at neo.vortex@pm.me\n\n\n## Related\n\nHere are some related projects\n\n[Java implemation of  WalletConnect protocol](https://github.com/matiassingers/awesome-readme)\n\n\n## Used By\n\nThis project is used by the following companies:\n\n- http://soter.chainovastudio.com/\n\n\n## Contributing\n\nContributions are always welcome!\n\n\n## API Reference\n\n#### Connect to WalletConnect Version 1\n\n```http\n  GET /v1/ws (WebSocket connection)\n```\n#### respecting https://docs.walletconnect.com/1.0/bridge-server#test-hello-world\n\n```http\n  GET /v1/hello/\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `-`      | `-` | returns version and bridge name |\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo-vortex%2Fsharpbridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneo-vortex%2Fsharpbridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneo-vortex%2Fsharpbridge/lists"}