Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@georgeroman/wyvern-v2-sdk
Advanced tools
This repository contains an SDK for interacting with instances of Wyvern V2 contracts (including OpenSea).
This package doesn't have tests on its own, but it relies on the core
package for testing (which makes intensive use of this SDK for easily interacting with Wyvern V2 instances during tests).
import { Builders, Helpers, Order } from "@georgeroman/wyvern-v2-sdk";
// Create an unsigned sell order
let sellOrder: Order = Builders.Erc721.SingleItem.sell({
exchange: exchange.address,
maker: seller.address,
target: erc721.address,
tokenId: "0",
paymentToken: AddressZero,
basePrice: parseEther("1").toString(),
fee: "250",
feeRecipient: feeRecipient.address,
listingTime: (Math.floor(Date.now() / 1000) - 300).toString(),
expirationTime: "0",
salt: "0",
});
// Sign the sell order
sellOrder = await Helpers.Order.sign(seller, sellOrder);
// Create a matching buy order for the sell order
const buyOrder: Order = Builders.Erc721.SingleItem.matchingBuy(
buyer.address,
sellOrder
);
// Trigger settlement
await Helpers.Wyvern.match(buyer, buyOrder, sellOrder);
FAQs
Wyvern V2 SDK
We found that @georgeroman/wyvern-v2-sdk demonstrated a not healthy version release cadence and project activity because the last version was released 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.
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.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.