
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.