@dzek69/ft3-lib
v0.0.0-3.3.1-5
Published
FT3 Library is a library for Rell modules (Chromia smart contract language). It can be imported and used as a token provider and manager. It allows several operations, among them: creation of different assets (type of tokens), allocation of tokens, transf
Downloads
14
Readme

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.sampleas.env - use docker-compose file from
test-dockerdirectory to start up database preconfigured to work with Rell - head to
relldirectory and run./restart-devnet.shand keep it running - look for something like
+ BRID=HASH_HEREin the output ofrestart*script - edit
.envand use these demo values:CHAIN_ID= hash you have found earlierNODE_URL=http://localhost:7740ADMIN_PUB=039a2b0785d62e9dc0d9720fe5add001d409706aab049fa603205bc08f89126984ADMIN_PRIV=75001c141b51b3dfe46b7c4c7bce4acdc78810ef5f144ff3dcbb6bb26f8d7509
- run
npm testto run tests
