Skip to content

wasm

deepmove use wasm as its underlying core tech to interact with move vm therefor, it will be quite easy and convenient to test move codes using typescript and clone on chain move modules to run in local move env

Install

bash
pnpm add -d @deepmove/aptos
bash
npm install --save @deepmove/aptos
bash
yarn add @deepmove/aptos
bash
bun install @deepmove/aptos

new_wasm

new deepmove wasm client it will get AptosWasm typescript object

typescript
import { new_wasm } from '@deepmove/aptos';
let wasm = new_wasm();

get_wasm

get deepmove wasm client

typescript
import { get_wasm } from '@deepmove/aptos';
let wasm = get_wasm();

new_move_gen

new deepmove MoveGen

it will get MoveGen typescript object

typescript
import { new_move_gen } from '@deepmove/aptos';
let move_gen = new_move_gen();

get_move_gen

get deepmove MoveGen

typescript
import { get_move_gen } from '@deepmove/aptos';
let move_gen = get_move_gen();

refresh_vm

refresh deepmove wasm move vm core runtine

typescript
import { refresh_vm } from '@deepmove/aptos';
refresh_vm();

Released under the MIT License.