Skip to content

A Polkadot.js API + Angular based template for building Substrate Front Ends

License

Notifications You must be signed in to change notification settings

tarrball/substrate-front-end-angular-template

Repository files navigation

Substrate Front End Angular Template

demo

🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧

Work In Progress - Converting Substrate Front-End Template from React to Angular with Material Design & rxjs.

🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧🚧

Currently, there are several working components (Account Selector, Balances, Block Number, Events, Metadata, Node Info, Transfer), but there are lots of TODO's sprinkled throughout, and duplicated code here and there.

Using The Template

Installation

The codebase is installed using git and the Angular CLI. This tutorial assumes you have installed git and the Angular CLI.

git clone https://github.com/tarrball/substrate-angular-template.git
cd substrate-angular-template
npm install

Usage

You can start the template in development mode to connecct to a locally running node:

ng serve

You can also build the app in production mode:

ng build --prod