Has anyone implemented EIP 2981

has anyone implemented EIP-2981: NFT Royalty Standard?

https://eips.ethereum.org/EIPS/eip-2981

I was looking for some example code before I tried to implement myself.

1 Like

have you succeeded to find the implementation?

you can find an example here: dievardump/EIP2981-implementation: Repository that shows how to easily implement EIP2981 (github.com)

and a good article here: Exploring the NFT Royalty Standard (EIP-2981) | Gemini

@scottsuhy what would i send on _setRoyalties if i want to take 1 percentange on every sale i tried different option but still fail those things

There's my repo, in the running for doing this...

Also it's on the discussion board... so who knows, if it wins I'll push my repo to OpenZeppelin.

1 Like