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

tokensoft-sdk

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tokensoft-sdk

![Logo](./docs/img/logo.png)

  • 0.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

tokensoft-sdk

Logo

Installation
$ yarn add tokensoft-sdk
Roles

Investor:

  • Retail - Create and manage your account
  • Institutional - Create an account for your entity or fund
  • Broker Dealer or RIA - Create accounts on behalf of your clients

Administrator:

  • Broker Dealer ATS - Create accounts at the Tokensoft Transfer Agent and associate wallets with accounts.
  • Exchange - Create accounts at Tokensoft or the Tokensoft Transfer agent and associate wallets with accounts.
Assets

Every administrator will need unique credential per asset. Each set of credentials will enable an administrator to whitelist wallets to be authorized to hold the tokens.

Administrator Authentication

Generate an API key from the dashboard/api-settings page of the TokenSoft admin platform and export it on the command line:

$ export KEY_ID='TSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
$ export SECRET_KEY='TSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Authorize a User

In order for an investor or user to hold a security token, they must be authorized to do so by the administrator. The sample code below demonstrates this process.

import { TokensoftSDK } from 'tokensoft-sdk'

const issuerEndpoint = 'https://app.arcalabs.com'

const client = new TokensoftSDK(issuerEndpoint, process.env.KEY_ID, process.env.SECRET_KEY)

const transactionHash = await client.authorizeUser('jay_clayton@gmail.com', '0x00192fb10df ... 3cd1bf599e8', {
  firstName: "john",
    lastName: "doe",
    address: {
      streetAddress: "123 abc street",
      city: "San Francisco",
      state: "CA",
      zip: "94000",
      country: "US"
    }
  }
)

Keywords

FAQs

Package last updated on 15 Dec 2020

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