Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
# blockless-sdk-assembly-script
# Blockless SDK for AssemblyScript

![](blockless.png)

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

## It currently has built in support for
## Built-in Support for

- `cgi`
- `http`
- `ipfs`
- `llm`

## Install this SDK
## Install This SDK

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

```bash
npm i @blockless/sdk
# or using deno
npm install @blockless/sdk
# Or using Deno
deno add @blockless/sdk
```

## Example of using this SDK.
## Example Usage

```js
// The entry file of your WebAssembly.
Expand All @@ -36,9 +36,9 @@ const data = client.get("https://httpbin.org/json");
console.log(data.toString())
```

### How to build
### How to Build

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

```bash
asc examples/index.ts --target release
Expand All @@ -48,4 +48,4 @@ Shortcuts for a few examples are available in the `package.json` of this module.

```bash
deno run build:example:debug
```
```