{"id":13651309,"url":"https://github.com/usetech-llc/polkadot_api_dotnet","last_synced_at":"2025-04-22T22:30:59.055Z","repository":{"id":38030850,"uuid":"203977169","full_name":"usetech-llc/polkadot_api_dotnet","owner":"usetech-llc","description":"C# API for Polkadot","archived":false,"fork":false,"pushed_at":"2022-12-08T06:10:14.000Z","size":2738,"stargazers_count":33,"open_issues_count":12,"forks_count":19,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-03-29T17:24:53.556Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/usetech-llc.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}},"created_at":"2019-08-23T10:26:17.000Z","updated_at":"2024-03-10T08:21:00.000Z","dependencies_parsed_at":"2023-01-25T14:01:04.319Z","dependency_job_id":null,"html_url":"https://github.com/usetech-llc/polkadot_api_dotnet","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usetech-llc%2Fpolkadot_api_dotnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usetech-llc%2Fpolkadot_api_dotnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usetech-llc%2Fpolkadot_api_dotnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usetech-llc%2Fpolkadot_api_dotnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usetech-llc","download_url":"https://codeload.github.com/usetech-llc/polkadot_api_dotnet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223906215,"owners_count":17223045,"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-08-02T02:00:47.829Z","updated_at":"2024-11-10T02:30:46.718Z","avatar_url":"https://github.com/usetech-llc.png","language":"C#","funding_links":[],"categories":["Client Libraries"],"sub_categories":[],"readme":"# polkadot_api_dotnet\n\n## Milestones\n\n- [Milestone 1](https://github.com/usetech-llc/polkadot_api_dotnet/blob/master/doc/demo_milestone1.md)\n- [Milestone 2](https://github.com/usetech-llc/polkadot_api_dotnet/blob/master/doc/demo_milestone2.md)\n\n## Requirements\n\n### Windows\n\n- Visual Studio Community 2019 (Pro or Enterprise will also work)\n- SDK: .NET Core 2.2\n\n### Linux\n\n- [Dotnet Core 2.2](https://dotnet.microsoft.com/download/linux-package-manager/ubuntu16-04/sdk-current)\n\n## Building\n\n### Windows\n\nPlease use Ctrl+Shift+B in Visual Studio :)\n\n### Linux\n\n```\ngit clone https://github.com/usetech-llc/polkadot_api_dotnet \u0026\u0026 cd polkadot_api_dotnet\n$ dotnet build\n$ dotnet test\n```\n\n### Docker\n\n```\ngit clone https://github.com/usetech-llc/polkadot_api_dotnet\n$ docker build -t polkanet .\n$ docker run -it --rm polkanet /bin/bash\n# dotnet build\n# dotnet test\n```\n\n\n### Building of documentation\n\nEdit Polkadot.csproj file and add \"build;\" in the docfx section like here:\n```\n\u003cPackageReference Include=\"docfx.console\" Version=\"2.45.1\"\u003e\n  \u003cPrivateAssets\u003eall\u003c/PrivateAssets\u003e\n  \u003cIncludeAssets\u003eruntime; build; native; contentfiles; analyzers\u003c/IncludeAssets\u003e\n\u003c/PackageReference\u003e\n```\n\nNow when project is rebuilt, the docuemntation will be updated.\n\n### Generating Keys\n\nThere is a modified version of subkey that will output the private key in 64-byte format required for this library. Here is how to get the keys:\n\n```\n$ git clone github.com:usetech-llc/substrate.git\n$ cd bin/utils/subkey\n$ cargo build\n$ cargo run -- generate\n    Finished dev [unoptimized + debuginfo] target(s) in 0.78s\n     Running `/home/greg/Development/src/polkadot/substrate_ut/target/debug/subkey generate`\nSecret phrase `maple rather inject cage food unable enter economy adapt mandate novel start` is account:\n  Network ID/version: substrate\n  Secret seed:        0xce456c3f305bf2c31868b1f51eb297e8b304551f1e456758cfa555d0040b31f7\n  64-byte secret:     0x1B04EA5667F6D63B7D405503651F56129B64ED148336F35EECCA53716B872B0B542E9D846415B636BB1741C22C8BCA827CEF9D170B9E671E36B60345D18B3894\n  Public key (hex):   0xa805c199eaa3d4d3f0865691e94b3ce4a508ee68aef6d7b42642d0d5d389667d\n  Account ID:         0xa805c199eaa3d4d3f0865691e94b3ce4a508ee68aef6d7b42642d0d5d389667d\n  SS58 Address:       5Fs1cSCX2ZDvtfC6wvrWWFoQDRdcESLuoTyYofdE1AM7LVhD\n```\n\n### Special Thanks\n\nWe thank Gautam Dhameja for sharing the source code for C-Rust bindings for SR25519 Rust library, which enabled our end-to-end testing and validation of our sr25519 implementations.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusetech-llc%2Fpolkadot_api_dotnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusetech-llc%2Fpolkadot_api_dotnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusetech-llc%2Fpolkadot_api_dotnet/lists"}