Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@chromia/ft4
Advanced tools
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
The FT4 Library functions as a comprehensive toolkit engineered for both Rell and TypeScript modules in the Chromia blockchain ecosystem. Specialising in asset and account management, the library provides a suite of operations including asset issuance, allocation, and transfers, extending even to cross-chain capabilities. Furthermore, it establishes foundational data structures for account management, designed to operate independently of asset-related activities.
This repository contains the FT4 library and a comprehensive suite of tests written in Node.js and Jest. The current testing setup serves as a temporary measure, as a Rell-based testing suite is in development.
Clone the repository and install the dependencies:
git clone git@bitbucket.org:chromawallet/ft3-lib.git
cd ft3-lib
npm install
Run the complete set of TypeScript and Rell tests:
npm run test
Run only TypeScript or Rell tests:
npm run test:js
npm run test:rell
To execute particular tests in Rell, use the --tests
or -t
option:
npm run test:rell -- --tests=test1,test2
npm run test:rell -- -t=test1,test2
Execute specific Jest tests by string matching:
npm run test 'string matching test(s)'
Examples:
npm run test 'user'
npm run test:js 'rate|sso'
For running different blockchain configurations, you can use the following npm commands:
npm run postchain:test
npm run postchain:demo
To stop these environments:
npm run stop-postchain:jest
npm run stop-postchain:demo
This project is licensed under the Apache License, Version 2.0. For more details, see the LICENSE file in the repository or visit Apache License, Version 2.0.
[0.1.8] - 2023-10-25
nop
operation to "init", "apply" and "complete" transactions to avoid tx rid conflictsKeyHandler
interface. authorize
function nonce: number
argument is replaced with context: TxContext
FAQs
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
The npm package @chromia/ft4 receives a total of 158 weekly downloads. As such, @chromia/ft4 popularity was classified as not popular.
We found that @chromia/ft4 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.