![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@fuel-bridge/message-predicates
Advanced tools
Most messages sent from the base chain to Fuel will use a predicate as the message recipient. These predicates allow anyone to spend the `InputMessage` but verifies that a specific script is used in the transaction to ensure security and reliability that
Most messages sent from the base chain to Fuel will use a predicate as the message recipient. These predicates allow anyone to spend the InputMessage
but verifies that a specific script is used in the transaction to ensure security and reliability that the message is handled appropriately.
The Message to Contract Predicate is for messages that are trying to send a data payload to a designated Fuel contract. This predicate verifies that the script bytecode hash for the transaction matches for the designated Message to Contract Script and that there are no other InputMessages
with data in the transaction other than the first input. If these conditions are met, then the predicate evaluates as true.
The message to contract predicate relies on a script that performs only the following operation:
process_message
on the contract with ID that matches the first 32 bytes in the message data field, while forwarding the exact amount of base asset specified in the InputMessage
amount
fieldBuild:
pnpm fuels-forc build
cargo run
Run tests:
cargo test
Code must be formatted.
pnpm fuels-forc fmt
cargo fmt
The primary license for this repo is Apache 2.0
, see LICENSE
.
FAQs
Most messages sent from the base chain to Fuel will use a predicate as the message recipient. These predicates allow anyone to spend the `InputMessage` but verifies that a specific script is used in the transaction to ensure security and reliability that
The npm package @fuel-bridge/message-predicates receives a total of 329 weekly downloads. As such, @fuel-bridge/message-predicates popularity was classified as not popular.
We found that @fuel-bridge/message-predicates 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
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.