From d1e31553ea9647dd990bb1efc6c7640b341fc9e5 Mon Sep 17 00:00:00 2001 From: Maayan Date: Tue, 17 Oct 2023 10:24:10 -0700 Subject: [PATCH] Update README and build process (#83) update readme --- .npmignore | 7 ---- README.md | 95 +++++++++++++++++++++++++++++++++++++++++++++++++--- package.json | 23 +++++++++---- 3 files changed, 106 insertions(+), 19 deletions(-) diff --git a/.npmignore b/.npmignore index 1594a8daf..e69de29bb 100644 --- a/.npmignore +++ b/.npmignore @@ -1,7 +0,0 @@ -.aptos/ -.env/ -dist/ -coverage/ -examples/ -node_modules/ -src/types/generated/types.ts diff --git a/README.md b/README.md index 25026301c..94a73c208 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,9 @@ [![NPM Package Version][npm-image-version]][npm-url] [![NPM Package Downloads][npm-image-downloads]][npm-url] -The Aptos TypeScript SDK provides a convenient way to interact with the Aptos blockchain using TypeScript. It offers a +> **This library is experimental**. Therefore the API is unstable and may change without warning. + +The Aptos TypeScript SDK provides a convenient way to interact with the Aptos blockchain using TypeScript. It offers a set of utility functions, classes, and types to simplify the integration process and enhance developer productivity. This repository supports version >= 0.0.0 of the [Aptos SDK npm package](https://www.npmjs.com/package/@aptos-labs/ts-sdk). @@ -14,28 +16,111 @@ This repository supports version >= 0.0.0 of the [Aptos SDK npm package](https:/ ##### For use in Node.js or a web application Install with your favorite package manager such as npm, yarn, or pnpm: + ```bash -npm install @aptos-labs/ts-sdk +pnpm install @aptos-labs/ts-sdk@experimental ``` ##### For use in a browser You can add the SDK to your web application using a script tag: + ```html -