Skip to content

reef-defi/ui-examples

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@reef-defi/ui-examples

Basic browser and framework agnostic UI components for creating apps on the Reef Chain based on @polkadot-js/ui.

Installation

Install dependencies with yarn.

Examples

A single file React example for EVM contract interaction can be run with:

  • example-react - start with yarn example:react and view on http://localhost:8080
  • example-angular - cd inside packages/example-angular then yarn install, ng serve and view on http://localhost:4200

It showcases the most used APIs.

Overview

The following UI components are currently available -

Additionally some shared libraries, that is not dependent on any framework -

  • ui-assets Static assets, images and others, shared accross projects
  • ui-keyring A browser-specific wrapper around the base @polkadot/util-keyring library
  • ui-settings A browser local storage wrapper for app settings & configuration
  • ui-shared Shared logic that is used accross UI components, e.g. for icon generation

About

Basic browser and framework agnostic UI components/examples for creating apps on the Reef Chain.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published