New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@blockless/sdk

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blockless/sdk

![](blockless.png)

1.1.4
latest
npm
Version published
Weekly downloads
4
Maintainers
0
Weekly downloads
 
Created
Source

blockless-sdk-assembly-script

** This sdk is configured to work with assembly-script. **

It currently has built in support for

  • cgi
  • http
  • ipfs
  • llm

Install this SDK

This module can be installed into any existing project. New projects should use @blockless/app to start a fresh WASM module.

npm i @blockless/sdk
# or using deno
deno add @blockless/sdk

Example of using this SDK.

// The entry file of your WebAssembly.
import "wasi";

import { Console } from "as-wasi/assembly";
import { http } from "@blockless/sdk";

const client = new http.Client();
const data = client.get("https://httpbin.org/json");

console.log(data.toString())

How to build

Use asc to build the typescript source into a deployable WASM file.

asc examples/index.ts --target release

Shortcuts for a few examples are available in the package.json of this module.

deno run build:example:debug

FAQs

Package last updated on 18 Feb 2025

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