{"repo":"edjCase/ICP.NET","free":true,"listed":false,"github":"https://github.com/edjCase/ICP.NET","clone":"git clone https://github.com/edjCase/ICP.NET.git","description":"A library for .NET/C#/Unity to natively communicate with the Internet Computer (ICP)","language":"C#","stars":55,"topics":["csharp","dfinity","internet-computer","unity"],"license":"MIT","category":"game-templates","readme_excerpt":"ICP.NET Collection of Internet Computer Protocol (ICP) libraries for .NET/Blazor/Unity - Agent - Library to communicate to and from the Internet Computer - Candid - Library of Candid Encoding, Models and Helpers - Client Generator - Client source code generator for ICP canisters - PocketIC - PocketIC Server client and runner for automating tests for canisters See each individual project README for more in depth guides 🎮 Unity Integration - Download latest agent.unitypackage from: https://github.com/edjCase/ICP.NET/releases - Import agent.unitypackage into your unity project - If using WebGL, follow the additional WebGL instructions in the Agent Docs - If generating a client (see below), place the generated files into the scripts folder: Assets/scripts/MyClient - Start coding 💻 📡 Generating a client for a canister You can specify all the models and api calls yourself, but this is a tool to automatically generate a client and models based on the canister or .did file - Prerequisite: Have .Net 6 installed (https://dotnet.microsoft.com/en-us/download/dotnet) - Navigate to directory of .Net project - Add Agent nuget package to project - Install ClientGenerator This will allow a client to be automatically be generated for a canister. See ClientGenerator README for more details and advanced config - Initialize ClientGenerator config (first run only) This will create a TOML config file in the directory that can be changed for more advanced options - Update created config file cand","default_branch":null,"files":null,"tree":[],"storefront":"/r/edjCase","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/edjCase/ICP.NET/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}