Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@greymass/account-creation

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@greymass/account-creation

An account creation library for antelope chains that leverages Anchor.

  • 0.1.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

Account Creation Library

This library contains a CreateRequest wrapper that facilitates the management of account creation request tokens.

Installation

The @greymass/account-creation package is distributed as a module on npm.

yarn add @greymass/account-creation
# or
npm install --save @greymass/account-creation

Usage

import { CreateRequest } from '@greymass/account-creation'

// Initialize the CreateRequest object with a creation token:
const createRequest = new CreateRequest("CREATION_TOKEN")

// or with a list of params:
const createRequest = new CreateRequest({
    code: string
    login_url?: string
    login_scope?: NameType
    return_path?: string
})

// Get the create request login scope
const loginScope = createRequest.login_scope

// Get the create request login esr
const esrLoginRequest = createRequest.loginRequest

// Get the token string
const createRequestToken = createRequest.toString()

Developing

You need Make, node.js and yarn installed.

Clone the repository and run make to checkout all dependencies and build the project. See the Makefile for other useful targets. Before submitting a pull request make sure to run make lint.


Made with ☕️ & ❤️ by Greymass, if you find this useful please consider supporting us.

FAQs

Package last updated on 24 Apr 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc