marigold-dev / tzsafe-ui

TzSafe-UI frontend — to interact with multi-signatures wallets.
https://www.marigold.dev/tzsafe
10 stars 2 forks source link
dapp multisig multisig-wallets tezos tzsafe

TzSafe

TzSafe is a website to interact with multi-signatures wallets. The goal is to have a UI layer above the LIGO contracts that you can find here.

How to develop ?

First, clone the repository:

git clone https://github.com/marigold-dev/tzsafe-ui/

Then install the dependencies:

npm i

Finally you can develop with:

npm run dev

How to run

There are two ways to run TzSafe, with or without docker.

Docker

docker build -t tzsafe .
docker run -p 8080:80 tzsafe

When building the application you can specify which node and which network you want to use:

docker build --build-arg="PUBLIC_RPC_URL=https://mainnet.tezos.marigold.dev" -t tzsafe .

You can override:

With NPM

npm i
npm run start:mainnet

You can override the variable by editing the file /config/.env.mainnet

Sandbox

Sandbox enables us to locally run Tezos-node and Tzkt. There are two modes: stateful and stateless. In stateful mode, the data of Tezos-node and the database of Tzkt are preserved when docker compose stops, while in stateless mode, both start from the genesis block.


# To start stateless node
docker-compose -f docker-compose.stateless.yml up --abort-on-container-exit

# To start stateful node
docker-compose -f docker-compose.stateful.yml up --abort-on-container-exit