Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@glif/filecoin-message
Advanced tools
The Filecoin message type, used to transfer tokens and make state changes.
npm i @glif/filecoin-message
const Message = require('@glif/filecoin-message')
const BigNumber = require('bignumber.js')
const message = new Message({
to: 't03832874859695014541',
from: 't1pyfq7dg6sq65acyomqvzvbgwni4zllglqffw5dy',
nonce: 1,
value: new BigNumber('1000000000'),
method: 0,
params: ''
})
const messageForSerialization = await message.toSerializeableType()
const messageForLotus = message.toLotusType()
npm i
npm run test
This repository is dual-licensed under Apache 2.0 and MIT terms.
FAQs
The Filecoin message type, used to transfer tokens and make state changes.
The npm package @glif/filecoin-message receives a total of 619 weekly downloads. As such, @glif/filecoin-message popularity was classified as not popular.
We found that @glif/filecoin-message demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.