> ## Documentation Index
> Fetch the complete documentation index at: https://voltaire.tevm.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Safe (Gnosis)

> Multisig wallet interaction with Safe

<Warning>
  **Looking for Contributors!** This Skill needs an implementation.

  Contributing a Skill involves:

  1. Writing a reference implementation with full functionality
  2. Adding comprehensive tests
  3. Writing documentation with usage examples

  See the [ethers-provider Skill](https://github.com/evmts/voltaire/tree/main/examples/ethers-provider) for an example of a complete Skill implementation.

  Interested? Open an issue or PR at [github.com/evmts/voltaire](https://github.com/evmts/voltaire).
</Warning>

<Info>
  **Skill** — Copyable reference implementation. Use as-is or customize. See [Skills Philosophy](/concepts/skills).
</Info>

Create and interact with Safe multisig wallets programmatically.

## Planned Implementation

### Create Safe

```typescript theme={null}
import { Safe } from './Safe.js';

const safe = Safe({
  provider,
  safeFactory: SAFE_FACTORY,
});

// Deploy new Safe
const safeAddress = await safe.create({
  owners: [owner1, owner2, owner3],
  threshold: 2,
  signer,
});
```

### Propose Transaction

```typescript theme={null}
// Create transaction
const tx = await safe.createTransaction({
  safeAddress,
  to: recipient,
  value: parseEther('1'),
  data: '0x',
});

// Sign transaction
const signature = await safe.signTransaction({
  safeAddress,
  tx,
  signer,
});

// Submit to Safe Transaction Service
await safe.proposeTransaction({
  safeAddress,
  tx,
  signature,
  senderAddress: owner1,
});
```

### Execute Transaction

```typescript theme={null}
// Get pending transactions
const pending = await safe.getPendingTransactions(safeAddress);

// Execute when threshold reached
await safe.executeTransaction({
  safeAddress,
  tx: pending[0],
  signer,
});
```

## Resources

* [Safe Documentation](https://docs.safe.global/)
* [Safe Contracts](https://github.com/safe-global/safe-contracts)
* [Safe Transaction Service API](https://docs.safe.global/safe-core-api/available-services)

## Related

* [erc4337](/skills/erc4337) — Account abstraction alternative
