
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@kleros/multicall-relayer
Advanced tools
Multicall3 typescript bindings and transaction relayer logic
Adds multiple calldatas to a batch and calls Multicall3 contract's aggregate3
function.
$ yarn add @kleros/multicall-relayer
import MultiCaller from "@kleros/multicall-relayer"
const multicaller = new MultiCaller({
rpcUrl,
privateKey,
multicall3Address,
gasPriceCeilingWei, // optional
logtailSourceToken, // optional
amqp: { url, exchange } // optional
})
multicaller.add({
allowFailure: false,
target: poh.address,
callData: pohI.encodeFunctionData(
"withdrawFeesAndRewards",
[beneficiary, humanityId, requestId, challengeId, round]
)
})
// Or multiple calls...
multicaller.add(...calls)
const tx = await multicaller.send()
rpcUrl
- url of the rpc to be used.privateKey
- private key of wallet to execute the transaction.multicall3Address
- Multicall3 contract address on the chain corresponding to the given rpc.gasPriceCeilingWei
(optional) - gas price ceiling in wei.logtailSourceToken
(optional) - Logtail token to send logs to. If missing, console.log
is used.amqp
(optional) - AMQP to be notified once the transaction is sent to the blockchain. Requires 2 parameters:
url
- url of the provider.exchange
- name of the exchange.FAQs
Multicall3 typescript bindings and transaction relayer logic
We found that @kleros/multicall-relayer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.