How to use a Ravencoin wallet address as an IPFS Peer ID

I’ve been trying to find a way to make an IPFS browser node’s Peer id the same as a Ravencoin wallet address, or somehow use part of the Peer id to generate or extract a valid wallet address. Does anyone know how I might go about doing this? Or what changes I would need to make to any IPFS or libp2p libraries? Any advice or insight would be greatly appreciated, thanks!

If you’re not using it for anything else, you could put the Ravencoin walled address in a block and store that block hash on the peer’s IPNS entry.

Actually, I think you might be able to just make the Ravencoin wallet address the resolution of the peer’s IPNS entry.