Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.63 KB

Readme.md

File metadata and controls

35 lines (22 loc) · 1.63 KB

Money pot Blazor Front End

This repo is the money pot pallet front end developped with ASP.NET Core Blazor

It is a Blazor .Net web application that serves as a proof of concept for building a Substrate blockchain front end. This project demonstrates how a blockchain front-end can be developed without using Javascript.

I use Substrate.NET.Toolchain to automatically generate the C# and substrate connection layers based on the current Substrate metadata file.


Schema

image

Setup

If you want to try it by yourself, feel free to clone the repo and use npm update in the MoneyPot_BlazorFront project. If you just want to test with mock data make sure in your Program.cs to use the following dependency injection :

services.AddMoneyPotServices(MoneyPotServiceExtension.ServiceMode.Mock, endpoint);

Otherwise if you want to connect it to the Money pot pallet, please use the following dependency injection :

services.AddMoneyPotServices(MoneyPotServiceExtension.ServiceMode.SubstrateNode, endpoint);

The project is under development and will probably change in near future