{"id":15011673,"url":"https://github.com/jonathancrossland/multichain","last_synced_at":"2026-03-17T20:33:01.763Z","repository":{"id":40936187,"uuid":"101621512","full_name":"JonathanCrossland/multichain","owner":"JonathanCrossland","description":"A C# library for blockchain JSON-RPC - focusing on MultiChain","archived":false,"fork":false,"pushed_at":"2024-12-16T10:20:18.000Z","size":1926,"stargazers_count":24,"open_issues_count":0,"forks_count":24,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-25T23:24:34.634Z","etag":null,"topics":["blockchain","csharp","multichain","nuget-package"],"latest_commit_sha":null,"homepage":"","language":"C#","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/JonathanCrossland.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":"2017-08-28T08:29:11.000Z","updated_at":"2025-01-06T00:42:24.000Z","dependencies_parsed_at":"2024-09-24T19:43:53.705Z","dependency_job_id":"bad11f2f-cb59-4685-b4f7-54c63c9b0f7b","html_url":"https://github.com/JonathanCrossland/multichain","commit_stats":{"total_commits":72,"total_committers":9,"mean_commits":8.0,"dds":"0.48611111111111116","last_synced_commit":"00a1d41b698c567dd3ed260beb38aa2948d2aca8"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanCrossland%2Fmultichain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanCrossland%2Fmultichain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanCrossland%2Fmultichain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanCrossland%2Fmultichain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JonathanCrossland","download_url":"https://codeload.github.com/JonathanCrossland/multichain/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248512512,"owners_count":21116615,"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","csharp","multichain","nuget-package"],"created_at":"2024-09-24T19:41:25.546Z","updated_at":"2026-03-17T20:33:01.730Z","avatar_url":"https://github.com/JonathanCrossland.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# LucidOcean.MultiChain Assembly\n\nThe library is an unofficial wrapper for multichain_cli JSON RPC. \n\n***\n[Latest Nuget](https://www.nuget.org/packages/LucidOcean.MultiChain) \n|\n[MultiChain Starter](https://github.com/JonathanCrossland/multichain/wiki/MultiChain-Starter)\n***\n\n\nThe Source is in Visual Studio 2022 Community Edition. \n\nThe compiled Assemblies are targeting 4.8 and Core 6.0\n\n\nThis library divides the calls into \n - MultiChainClient.Address\n - MultiChainClient.Asset\n - MultiChainClient.Block\n - MultiChainClient.Peer\n - MultiChainClient.Permission\n - MultiChainClient.Transaction\n - MultiChainClient.Utility\n - MultiChainClient.Wallet\n - MultiChainClient.Stream\n\n\n## Create your own chain\n\n\ncreate \n[https://www.multichain.com/developers/creating-connecting/](https://www.multichain.com/developers/creating-connecting/)\n\nand run your test chain\n\nNOTE: This library is only available for v1 RPC\n\n## Set up your connection\n\n- edit your multichain.conf\n- add port to your firewall \n- allow your ip\n\n*example multichain.conf* (use your settings)\n\nrpcuser=multichainrpc\nrpcpassword=1jm2VNf2MdGK8ULQiMGg7Q4C8Jy89BJrzNJ5y9Mj7qaS\nrpcallowip=127.0.0.1\n\n*Get your RPC port*\n\nview in your params.dat file\n\ndefault-network-port = 9265             # Default TCP/IP port for peer-to-peer connection with other nodes.\ndefault-rpc-port = 9264                 # USE THIS - Default TCP/IP port for incoming JSON-RPC API requests.\n\n*example usage:*\n```csharp\nMultiChainConnection connection = new MultiChainConnection()\n            {\n                Hostname = \"IP\",\n                Port = 100,\n                Username = \"multichainrpc\",\n                Password = \"password\",\n                ChainName = \"chain1\",\n                BurnAddress = \"address\",\n                RootNodeAddress = \"address\"\n            };\n            \nMultiChainClient _Client = new MultiChainClient(connection);\nresponse = _Client.Wallet.GetNewAddress();\n```\nThere are sync and async versions.\n\n\n## Issue and Send an Asset\n\n```csharp\nMultiChainConnection connection = new MultiChainConnection()\n            {\n                Hostname = \"IP\",\n                Port = 100,\n                Username = \"multichainrpc\",\n                Password = \"password\",\n                ChainName = \"chain1\",\n                BurnAddress = \"address\",\n                RootNodeAddress = \"address\"\n            };\n            \nMultiChainClient _Client = new MultiChainClient(connection);\nJsonRpcResponse\u003cstring\u003e response = _Client.Asset.Issue(issueAddress, assetName, quantity, units);\n_Client.Asset.Send(toAddress, assetName, amount);\n\n//Use SendAssetFrom to specify an address FROM and and address To\n\n\n```\n\n## Using List\n```csharp\n    _Client.Asset.ListAssetsAsync(assetName,true);\n```\n\n## Issue and Subscribe\n```csharp\n    var response = _Client.Asset.Issue(fromAddress, new { name = assetName, open = true }, 10, 1, asset);\n    _Client.Asset.Subscribe(response.Result, true);\n```\n\n## MultiChain Explorer\n    - MultiChain explorer running on C# ASP.NET MVC \n    - Change connection details in LucidOcean.MultiChain.Explorer.Data.ExplorerSettings to connect the explorer to your node.  \n        * This works the same as seen in example of issue and sending of an asset.    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathancrossland%2Fmultichain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathancrossland%2Fmultichain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathancrossland%2Fmultichain/lists"}