Contract based wallets documentation

Trying to understand how to create contract based wallets in solidity.
Can someone suggest some documentation that will help with this?

Hi, welcome! :wave:

Emmm, how about the Argent Wallet