Skip to main content

Safient Core

Safient Core is a JavaScript/ TypeScript SDK that allows anyone to interact with the Safient protocol to perform any action. You can easily integrate Safient on any client or server applications.

Getting started

Install the @safient/core node package to your project.

  npm i @safient/core

Import the library

Once the package is installed successfully in your project, import SafientCore to instantiate a Safient objet and start invoking all the APIs.

import { SafientCore } from "@safient/core";

Check out the API section to explore and use all the available APIs to start building on Safient 🚀.

Local installation

You can also install the latest or the development version of @safient/core directly from the repo.

  git clone https://github.com/safient/core-js.git
cd core-js
npm install
npm run build

Running Tests

  npm run test