← Back to home

Chainsafe generator

Generate c# class from your abi for the chainsafe sdk, compatible with Unity

Screenshots

Chainsafe generator screenshot 1
Chainsafe generator screenshot 2
Chainsafe generator screenshot 3

Problem Statement

Currently, with the chainsafe sdk, you can call your contract, but you need to set the right method name and parameters, and it can be easy to make a mistake. With this tool, no more worries: a C# class will be generated from your abi, and all you have to do is call the generated methods, plus you benefit from autocompletion.

Solution

This project extends chainsafe's unity sdk, a net standard 2.1 project has been created for the occasion, all coded in C#, and is compatible with unity. Tests have also been implemented. A custom editor for unity has been created, you can paste directly your abi json in it and c# class will be generated on your project.

Hackathon

HackFS 2024

2024

Contributors