Socket
Socket
Sign inDemoInstall

ual-starteos

Package Overview
Dependencies
36
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ual-starteos

Forked from [ual-scatter](https://github.com/EOSIO/ual-scatter.git)


Version published
Weekly downloads
2
Maintainers
1
Install size
3.10 MB
Created
Weekly downloads
 

Readme

Source

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>

FAQs

Last updated on 03 Sep 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc