ual-starteos
TypeScript icon, indicating that this package has built-in type declarations

0.3.1 • Public • Published

UAL for Starteos Authenticator

Forked from ual-scatter

This authenticator is meant to be used with Starteos and Universal Authenticator Library. When used in combination with them, it gives developers the ability to request transaction signatures through Scatter using the common UAL API.

Getting Started

yarn add ual-starteos

Dependencies

You must use one of the UAL renderers below.

React - ual-reactjs-renderer

PlainJS - ual-plainjs-renderer

Basic Usage with React

import { Starteos } from 'ual-starteos'
import { UALProvider, withUAL } from 'ual-reactjs-renderer'

const exampleNet = {
  chainId: '',
  rpcEndpoints: [{
    protocol: '',
    host: '',
    port: '',
  }]
}

const App = (props) => <div>{JSON.stringify(props.ual)}</div>
const AppWithUAL = withUAL(App)

const starteos = new Starteos([exampleNet], { appName: 'Example App' })

<UALProvider chains={[exampleNet]} authenticators={[starteos]}>
  <AppWithUAL />
</UALProvider>

Readme

Keywords

none

Package Sidebar

Install

npm i ual-starteos

Weekly Downloads

59

Version

0.3.1

License

MIT

Unpacked Size

22.8 kB

Total Files

15

Last publish

Collaborators

  • ops-spielworks
  • hugoatspielworks
  • alexsotocx
  • luiza.dias
  • jona_wilmsmann
  • fabian-pink
  • davidpink
  • pinkgg
  • zimmcognito