
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@fuel-ts/account
Advanced tools
@fuel-ts/account
@fuel-ts/account is a sub-module for interacting with Fuel.
This module contains the class to manage a private key and signing for a standard Externally Owned Account (EOA).
pnpm add @fuel-ts/account
# or
npm add @fuel-ts/account
Alternatively, we recommend you install the complete SDK using the umbrella package:
pnpm add fuels
# or
npm add fuels
These test utilities are exported to assist in testing apps using Fuels.
import { bn } from "@fuel-ts/math";
import {
seedTestWallet,
generateTestWallet,
} from "@fuel-ts/account/test-utils";
const provider = await Provider.create("http://127.0.0.1:4000/v1/graphql");
// seeding
const wallet = Wallet.fromPrivateKey("0x...", provider);
const baseAssetId = provider.getBaseAssetId();
seedTestWallet(wallet, [{ assetId: baseAssetId, amount: bn(100_000) }]);
// generating
const wallet = await generateTestWallet(provider, [[1_000, baseAssetId]]);
In order to contribute to @fuel-ts/account
, please see the main fuels-ts monorepo.
The @fuel-ts/account
changelog can be found at CHANGELOG.
The primary license for @fuel-ts/account
is Apache 2.0
, see LICENSE.
FAQs
**@fuel-ts/account** is a sub-module for interacting with **Fuel**.
We found that @fuel-ts/account demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.