Project layout

For those familiar with Ethereum, here are some details about the scope of each of the packages in this project and what they're built with.

tasit: The main, umbrella package

This package (Tasit) exports the child packages below as a single export for convenience.

Main child packages

account

An abstraction around ethers.js utilities for creating a new Ethereum account

action

An abstraction around the ethers.js code for interacting with contracts on Ethereum (reading and writing)

contract-based-account

Helpers for upgrading an external owned account on Ethereum into a contract-based account using the Gnosis Safe (or other alternatives).

contracts

This repo tracks a few useful 3rd party contracts and exports classes for interacting with them using the @tasit/action API.

hooks

This package exposes functionality from the other packages as React hooks, assuming that the consuming package has React as a peer dependency. For instance, there's a useAccount hook that wraps some functionality from the account package.

Helpers

test-helpers

Internal tooling used in the test suites for other @tasit/... packages

provider-helpers

Shared ethers connection setup used in multiple @tasit/... packages

Other

docs

(These docs!)

link-wallet

(Coming soon-ish) For advanced users who already have ETH or tokens and a preferred primary mobile wallet, this package can be used for deep linking.


Go back to the home page of the docs.