Skip to content

v2.19.2

Choose a tag to compare

@ryanio ryanio released this 13 Aug 00:03
· 3 commits to main since this release

What's Changed

Covers 2.19.1 and 2.19.2, neither of which was tagged at the time.

  • opensea-marketplace: document how to fulfill an ERC20-denominated listing. Read prices through the decimals field rather than assuming 18, since stablecoins commonly use 6 and assuming 18 understates the price by a factor of 10^12. The fulfillment transaction carries value: 0 and the payment is pulled with transferFrom, so the buyer needs payment-token balance plus an allowance covering the sum of every ERC20 consideration item, fees included. The address to approve is the conduit resolved from fulfillerConduitKey through ConduitController getConduit, or the Seaport contract itself when that key is bytes32(0). (#597)
  • Replace the hardcoded supported-chain lists with a pointer to GET /api/v2/chains, and relax the marketplace scripts' chain validation to a format check so newer chains such as robinhood work. (#603)

The ERC20 guidance came out of a partner agent failing to buy USDG-priced listings on Robinhood Chain: it displayed prices off by 1e12 and hit "simulation reverted" for want of the approval. The API was correct in both cases.

Full Changelog: ProjectOpenSea/opensea-devtools@skill-v2.19.0...skill-v2.19.2