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

@permaweb/asset-web-sdk

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@permaweb/asset-web-sdk

This SDK is for Atomic Assets in the browser.

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Asset-Web-SDK

This SDK is for Atomic Assets in the browser.

Install

npm install @permaweb/asset-web-sdk

Usage

init

import Arweave from 'arweave'
import { WarpFactory } from 'warp-contracts'
import SDK from '@permaweb/asset-web-sdk'

const arweave = Arweave.init({ host: 'arweave.net', port: 443, protocol: 'https' })
const sdk = SDK.init({ arweave, warp: WarpFactory.forMainnet() })

getAsset

const result = await sdk.getAsset('vCU8cXnxkkMupiACruf9ih2M4k_CWIEvGsozbY9jlzg')
console.log('result', result)

Developer Information

test

yarn test

format

yarn fmt

lint

yarn lint

coverage

yarn coverage

FAQs

Package last updated on 15 Apr 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