Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@chromia/ft4

Package Overview
Dependencies
Maintainers
8
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chromia/ft4

FT4 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

  • 0.1.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
189
decreased by-32.98%
Maintainers
8
Weekly downloads
 
Created
Source

FT4 Library

FT4 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, and transfer. It also have some basic data structure for users (account) that can be used independently from the use of the tokens.

The repository

This repository provides the TypeScript (client) and Rell (blockchain) libraries and tests.

How to run tests

npm run test will take care of everything, launching the blockchain and running bot typescript and rell tests.

npm run test:js and npm run test:rell will only run one kind of test

If you want to run just certain jest tests, use: npm run test[:js] 'string matching test(s)' Example: npm run test 'user' will only run js tests with user in their name, and all rell tests npm run test:js 'rate|sso' will only run js tests with either rate or sso in their name, and no rell tests

How to run the blockchain

"postchain:test": "docker-compose -f dockers/rell-test.yml up -d", "postchain:demo": "docker-compose -f dockers/demo.yml up -d", "stop-postchain:jest": "docker-compose -f dockers/jest-test.yml down", "stop-postchain:rell": "docker-compose -f dockers/rell-test.yml down", "stop-postchain:demo": "docker-compose -f dockers/demo.yml down",

FAQs

Package last updated on 12 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc