0.0.0-3.3.1-5 • Published 3 years ago
@dzek69/ft3-lib v0.0.0-3.3.1-5
FT3 Library
FT3 is the recommended standards to handle accounts and tokens in Chromia ecosystem.
FT3 Library is a communication library for Rell modules (Chromia smart contract language). It allow dapps to make full use of Chromia Vault, including Single Sign-On (SSO), assets transfer and visibility on the Vault’s dapp explorer.
Learn more about Chromia, Rell & FT3.
The repository
This repository provides the library, TypeScript types and tests written in NodeJs and Jest.
Installation & usage
Read the docs to learn how to use this library.
Full-featured TypeScript usage
Read how to get the most of TypeScript with ft3-lib in the TS docs
Develop & testing
To start development of this library do the following:
- install dependencies
- copy
.env.sample
as.env
- use docker-compose file from
test-docker
directory to start up database preconfigured to work with Rell - head to
rell
directory and run./restart-devnet.sh
and keep it running - look for something like
+ BRID=HASH_HERE
in the output ofrestart*
script - edit
.env
and use these demo values:CHAIN_ID
= hash you have found earlierNODE_URL
=http://localhost:7740
ADMIN_PUB
=039a2b0785d62e9dc0d9720fe5add001d409706aab049fa603205bc08f89126984
ADMIN_PRIV
=75001c141b51b3dfe46b7c4c7bce4acdc78810ef5f144ff3dcbb6bb26f8d7509
- run
npm test
to run tests
0.0.0-3.3.1-5
3 years ago
0.0.0-3.3.1-4
3 years ago
0.0.0-3.3.1-3
3 years ago
0.0.0-3.3.1-1
3 years ago
0.0.0-3.3.1
3 years ago