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

algorand-social

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

algorand-social

Algorand API for social media app.

  • 0.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

A library that interact with algorand blockchain

Installation

npm install 'social-algo-api

Usage

getCreateAccountTransaction

// returns Transaction that for createAccount
let txn = await getCreateAccountTransaction(ChainType.TestNet, ipfsClient, wallet, "John Doe", "john@gmail.com")

// After that call proceed transaction to make the transaction work
await proceedTransaction(ChainType.TestNet, txn, connector)

getDeleteAccountTransaction

// returns Transaction that for deleteAccount
let txn = await getDeleteAccountTransaction(ChainType.TestNet, wallet)

// After that call proceed transaction to make the transaction work
await proceedTransaction(ChainType.TestNet, txn, connector)

proceedTransaction

// Proceed the txn 
await proceedTransaction(ChainType.TestNet, txn, connector)

getAccount

//@dev Get Account data
await getAccount(ChainType.TestNet, _ipfsClient, wallet)

Types

ChainType // return ChainType Enum

AccInfo // return AccInfo interface

Keywords

FAQs

Package last updated on 19 May 2022

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