Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@rarible/biconomy-middleware
Advanced tools
import { Registry, withBiconomyMiddleware } from "@rarible/biconomy-middleware"
const provider = ... // an web3 provider
// contract metadata provider see IContractRegistry
const remoteTestRegistry = new Registry("https://example.com/registry.json")
// applying biconomy middleware to provider
const biconomyProvider = withBiconomyMiddleware(provider, testRegistry, {
apiKey: "BICONOMY_API_KEY",
})
// use provider with biconomy for web3 instance
const web3 = new Web3(biconomyProvider as any)
// create contract and use methods normally
const contract = web3.eth.Contract(abi, contractAddress)
const tx = await contract.methods.setApprovalForAll(contractAddress, true).send()
Complete usage example can also be seen in tests
FAQs
Middleware for biconomy integration
The npm package @rarible/biconomy-middleware receives a total of 179 weekly downloads. As such, @rarible/biconomy-middleware popularity was classified as not popular.
We found that @rarible/biconomy-middleware 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.