Socket
Socket
Sign inDemoInstall

arbundles

Package Overview
Dependencies
16
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.4 to 0.1.5

2

package.json
{
"name": "arbundles",
"version": "0.1.4",
"version": "0.1.5",
"description": "Arweave bundling library",

@@ -5,0 +5,0 @@ "main": "build/index.js",

# Arweave Bundles
**Please note this package has been moved to [arbundles](https://github.com/Bundler-Network/arbundles) and this package will be deprecated**
A library for creating, editing, reading and verifying bundles.
See [ANS-104](https://github.com/joshbenaron/arweave-standards/blob/ans104/ans/ANS-104.md) for more details.
See [ANS-104](https://github.com/joshbenaron/arweave-standards/blob/arbundles/ans/ANS-104.md) for more details.

@@ -13,16 +11,26 @@ ## Installing the library

```npm install ans104```
```npm install arbundles```
Using yarn:
```yarn add ans104```
```yarn add arbundles```
## Creating bundles
## Post data
```ts
import { createData, ArweaveSigner } from "ans104";
const data = { data: "some data" };
const signer = new ArweaveSigner(jwk);
const item = await createData(data, signer);
await item.sign(signer);
await item.sendToBundler();
```
## Creating bundles
```ts
import { bundleAndSignData } from "ans104";
import { bundleAndSignData, ArweaveSigner } from "arbundles";

@@ -44,3 +52,3 @@ const dataItems = [

```ts
import { createData } from "ans104";
import { createData, ArweaveSigner } from "arbundles";

@@ -96,3 +104,3 @@ const data = { data: "some data" };

```ts
import { unbundleData } from "ans104";
import { unbundleData } from "arbundles";

@@ -99,0 +107,0 @@ const data = await arweave.transactions.getData("hKMMPNh_emBf8v_at1tFzNYACisyMQNcKzeeE1QE9p8");

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc