Aptos SDK
TypeScript SDK for the protocol
Full Documentation
Install SDK
pnpm install @moveflow/aptos-sdkUsage Example
Init SDK
import { Stream, aptos } from "@moveflow/aptos-sdk";
const pair = new aptos.Ed25519PrivateKey(test_private_key);
const account = aptos.Account.fromPrivateKey({
privateKey: pair,
});
const stream = new Stream(account, Network.TESTNET);const stream = new Stream(sender_address, Network.TESTNET);Create a Stream
Pause a Stream
Resume a Stream
Close a Stream
Extend a Stream
Withdraw a Stream
Batch Create Streams
Batch Withdraw Streams
Fetch Stream Info
Get Registered Coin Configs
Last updated