Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

@velas/account-rn-sdk

Package Overview
Dependencies
17
Maintainers
5
Versions
99
Issues
File Explorer

Advanced tools

@velas/account-rn-sdk

Velas Account SDK for React Native ===========================

    0.10.9latest

Version published
Maintainers
5
Yearly downloads
9,552

Weekly downloads

Readme

Source

Velas Account SDK for React Native

Requirements

  • ...

Features

Installation and Usage

To install the package:

npm install --save @velas/account-rn-sdk # OR yarn add @velas/account-rn-sdk

How to use it:

import { init, auth } from '@velas/account-rn-sdk' init( { velas_rates: config.RATES, node_host: config.NODE_HOST, account_host: config.BACKEND_HOST, account_contract: config.ACCOUNT_CONTRACT, account_payer_address: config.BACKEND_ACCOUNT, } ) createAccount = async (network = 'mainnet') => { const { error, data } = await auth.createAccount(network) if (error) return console.log(error) console.log(`Velas Account created: ${JSON.stringify(data)}`) }
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc