Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tari-project/tarijs

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tari-project/tarijs

This project provides a unified TypeScript library to connect and send requests to a Tari wallet. It's intended for web application developers that want to interact with a Tari wallet (connect, get substates, submit transactions, etc.).

  • 0.3.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

tari.js

This project provides a unified TypeScript library to connect and send requests to a Tari wallet. It's intended for web application developers that want to interact with a Tari wallet (connect, get substates, submit transactions, etc.).

Tari wallets supported:

  • Tari Wallet Daemon
  • MetaMask through the tari-snap

An example site (under the example folder) contains a web project that allows the user to connect to any type of Tari wallet and perform common actions.

Please read the TODO file for upcoming features.

Library building

You must have the tari-dan repo cloned at the same folder level as this repo.

To build the library:

npm install
npm run build

The bundled files for deployment or publication will be located under the dist folder.

Running the example site

To run the example site you will need to:

  • Compile the library following the previous section.
  • Have access to a Tari Wallet Daemon and to the Tari MetaMask Snap.
  • Copy the example/.env.example file to example/.env and edit the correct environment variable values.

To run in development mode:

cd example
npm install
npm run dev

For building and distribution

cd example
npm install
npm run build

The distribution files will be under the example/dist folder.

FAQs

Package last updated on 16 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc