3

I have created a contract on goerli that allows people to create and sell NFTs. The contract takes a commission on all sales, and these commissions accumulate in the account of the contract "owner". Currently the contract owner is set as the address that is used to deploy the contract. Only the contract owner is allowed to withdraw the accumulated commissions.

I am working on a small team, and would like for this withdrawal process to require approval from more than one member of the team. I suspect this is possible using Gnosis Safe, however after reviewing the documentation, I'm not sure.

Questions:

  1. Is it possible to deploy a contract from a Gnosis Safe account?
  2. If not, is it possible to use the "Safe App SDK" to accomplish this?

Any feedback would be greatly appreciated. Thank you.

3
  • Take a look at ape-safe: github.com/banteg/ape-safe
    – jcalb
    Commented Jan 3, 2022 at 22:21
  • Why bother deploying from the Gnosis Safe when you could change the owner later? Commented Jan 4, 2022 at 16:37
  • @PaulRazvanBerg Thank you. What if I take it one step further and just hard code the gnosis safe address into the contract? Maybe this is a separate question related to best practices. Commented Jan 5, 2022 at 22:28

1 Answer 1

3

You can use the CreateCall library to deploy Contracts: https://github.com/gnosis/safe-contracts/blob/main/contracts/libraries/CreateCall.sol

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.