Skip to content

mrnaveira/tari-snap

Repository files navigation

tari-snap

This repository contains:

  • A MetaMask snap that adds support to Tari network, allowing the user to send and retrieve transactions.
  • A web wallet as an UI to visualize and perform account management operations (see balances, transfer, etc.).

Please read the TODO file for upcoming features.

Pre-requisites

To interact with Snaps, you will need to install MetaMask Flask, a canary distribution for developers that provides access to upcoming features.

You will also need a Tari network running, with an indexer.

Getting Started

First clone the repo

git clone https://github.com/mrnaveira/tari-snap
cd tari-snap

Then you need to build the WebAssembly library used to build Tari transactions:

cd tari_wallet_lib
npm run build

The snap requires connection to a Tari indexer to access the Tari network. The URL value is configured in the tari-snap/snap/.env file, which you need to create by making a copy of the tari-snap/snap/.env.example file.

Finally, from the root folder (tari-snap), build and launch the snap and wallet website:

yarn install
yarn start

The output of the yarn start command will direct you to open the URL http://127.0.0.1:8000 for the wallet website.

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT-0 licenses found

Licenses found

Apache-2.0
LICENSE.APACHE2
MIT-0
LICENSE.MIT0

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published