
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@tatumio/configurable-extension
Advanced tools
The Configurable Extension showcases an example where the extension can be tailored to user preferences.
The Configurable Extension comes equipped with one method:
sayHelloWithConfiguration()
: This method displays a welcome message, the base fee for Ethereum, and a user-defined string.This extension is exclusively compatible with Ethereum
, a constraint ensured by the validation within its init()
method.
Install the package in your application that is using @tatumio/tatum
SDK already in a way of your choice, e.g.:
npm install @tatumio/configurable-extension
OR
yarn add @tatumio/configurable-extension
In your application, incorporate the extension as outlined:
const tatumSdk = await TatumSDK.init<Ethereum>({
network: Network.ETHEREUM_SEPOLIA,
version: ApiVersion.V3,
configureExtensions: [
{type: ConfigurableExtension, config: {configurationValue: 'CONFIGURED VALUE'}},
]
})
await tatumSdk.extension(ConfigurableExtension).sayHelloWithConfiguration()
[ConfigurableExtension] initialised
[ConfigurableExtension] Hello World
[ConfigurableExtension] Getting network from TatumSDK configuration: ethereum-sepolia
[ConfigurableExtension] Getting string from ConfigurableExtension configuration: CONFIGURED VALUE
[ConfigurableExtension] Getting base fee for the network from TatumSDK FeeEvm module: 10.735841739
[ConfigurableExtension] Base Fee for ethereum-sepolia is 10.735841739
[ConfigurableExtension] disposed
The Tatum SDK package should be enlisted as a dev dependency within the extension.
FAQs
Tatum JS SDK extension with configuration example
We found that @tatumio/configurable-extension demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.