SeiJS is a monorepo that contains multiple NPM libraries for writing applications that interact with Sei.
Please check our documentation for notes on how to get up and running. The tutorial has examples on how to connect to a Sei wallet, query an RPC endpoint, transfer tokens, IBC transfer, and interact with contracts.
You can also refer to the typedoc documentation for reference on the contents of the @sei-js/core and @sei-js/react library.
SeiJS consists of smaller NPM packages within the @sei-js namespace. For more detailed documentation on each package, please refer to the table below.
Package | Description |
---|---|
@sei-js/precompiles | Typescript library containing helper functions for interacting with Sei's precompile contracts. |
@sei-js/create-sei | CLI Tool used to quickly spin up Sei Projects and dApps in either the cosmos or EVM ecosystem |
@sei-js/mcp-server | MCP server for interacting with Sei via LLM's and agents |
@sei-js/sei-global-wallet | A global wallet conforming to EIP-6963 allowing for AA across dApps. |
@sei-js/ledger | TypeScript library transacting on Sei using a Ledger device. |
This project uses Yarn 4.7.0 with Corepack for package management. To get started:
-
Enable Corepack (if not already enabled):
corepack enable
-
Install dependencies:
yarn install
The correct Yarn version will be automatically used thanks to the packageManager
field in package.json
and Corepack.
To build all packages and docs, run yarn install
then yarn build:all