Patara Tokens is a TypeScript library for verified tokens on Sui.
Before you begin, ensure you have Bun installed on your system. If you don't have Bun installed, you can download and install it by following the instructions on the official Bun website.
To install the Patara Tokens library, follow these steps:
-
Clone the repository:
git clone https://github.com/notus-labs/tokens.git cd tokens
-
Install the dependencies using Bun:
bun install
-
bun run build
: Build the project using the custom build script -
bun run format
: Format the code using Prettier -
bun run lint
: Lint the code using ESLint -
bun run prepare
: Set up Husky for Git hooks
To build the library, run:
bun run build
The build process will generate the compiled JavaScript files and TypeScript declaration files in the dist
directory.