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

permawebjs

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

permawebjs

Utility library to build full stack permaweb applications

  • 1.2.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

permawebjs

Introduction

PermawebJS aims to lower the barrier of onboarding and building on Arweave by creating a well documented one-stop library.

Installation

Run the following command to install the package using npm or yarn

npm install permawebjs

#OR

yarn add permawebjs

Usage

Functions from specific function types can be imported as follows:

import { createWallet } from 'permawebjs/wallet';

const wallet = await createWallet({
  seedPhrase: true,
  environment: 'local',
});

Functions available

In this library, the following types of functions are available:

Wallet Functions: Functions associated with creating and using wallets. Read more here.

Transaction Functions: Functions associated with creating and interacting with transactions. Read more here.

Contract Functions: Functions associated with creating and interacting with contracts. Read more here.

Serverless Functions: Functions associated with creating and interacting with serverless functions. Read more here.

Auth Functions: Functions associated with authentication. Authentication currently supports ArConnect only. Read more here.

Understanding the docs

Every function has a dedicated page with the following information associated with it:

  • Brief description of the function
  • Basic syntax for function calls
  • Input parameters for the function
    • Parameters with the optional keyword means they are optional. Parameters that do not have this keyword are required and must be passed in for successful function calls.
  • Returned data for function calls

Read the docs here

FAQs

Package last updated on 22 May 2023

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