Release notes: StarkEx Spot Trading 5.0

New features

Multi-asset trading

A multi-asset trade is a new type of transaction in StarkEx Spot Trading.

Traders can now conduct all-or-nothing trading among multiple parties with multiple types of assets.

Some use cases:

  • Trade a combination of different NFTs in a single transaction.

  • Pay fees to multiple parties in a single transaction.

  • More than two parties can participate in a trade. For example, Alice gives Bob 1 ETH, Bob gives Carol 1000 USDC, and Carol gives Alice 1 dragon and 2 castle NFTs.

ERC-1155 and ERC-20 token minting

StarkEx Spot Trading now supports offchain minting of ERC-1155 and ERC-20 tokens.

The operator needs to inform their users that the operator controls the offchain minting policy.

The flow for minting ERC-1155 and ERC-20 tokens offchain is similar to that for ERC-721 tokens. The differences are:

  • You can mint multiple ERC-1155 and ERC-20 tokens, while with ERC-721 you can only mint one.

  • You can mint ERC-1155 and ERC-20 tokens repeatedly.

  • The format of the asset ID for ERC-1155 and ERC-20 tokens is different from that for ERC-721 tokens.
    For more information, see Identifiers for supported assets.

API additions and changes

  • MultiAssetTradeRequest – A new transaction type. Includes related objects.

  • MintRequest – This transaction type is now updated to support minting ERC-1155 and ERC-20 tokens.

Additional resources