
Security News
Oxlint Introduces Type-Aware Linting Preview
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
@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"),
fee: 250,
feeRecipient: feeRecipient.address,
listingTime: Math.floor(Date.now() / 1000) - 300,
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
The npm package @georgeroman/wyvern-v2-sdk receives a total of 3 weekly downloads. As such, @georgeroman/wyvern-v2-sdk popularity was classified as not popular.
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.
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.