How do royalties get paid?

I posted asking if anyone has confirmed royalties getting paid out. As of yet I haven’t gotten a response.

I ran some auctions on goerli ahead of doing it for real. Everything worked as expected except for the royalties. I see no indication that these are being paid out once the listing is finalized. The royalties are set at the individual token level.

Set royalties transaction:
https://goerli.etherscan.io/tx/0xe30b7dae9884c05fd5485374c56b38c4d2e04147a452e65749d9d3be02f6e5ff

Finalize transaction:
https://goerli.etherscan.io/tx/0xc09ae2e6bc513fd41d3a1929a645f2d2cd2cb33b10c531e6d7f69fe66f345b3e

I believe I may have found what went wrong:

The same address that created the token also listed the token for sale. Therefore the if block that handles royalties was never entered.

I’ll test when/if this nonsense ends:

That was the issue!

To have royalties paid out on a per token basis:

Wallet A:

  • Create the ERC721 contract
  • Create the tokens
    • Airdrop to Wallet B
  • Set the royalties

Wallet B:

  • Create the listing

“Finalize” transaction: https://goerli.etherscan.io/tx/0x83785f153086cc50ff5c43e7c3ba7d2a61d62e0105417a805e69a9be9c96e69f