Skip to content

5afe/plugin-safe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plugin Safe

!!! WIP

A Safe wallet plugin for interacting with Safe Protocol Kit and managing wallet operations.

Features

  • Get wallet balance
  • View wallet address
  • Check network information
  • Interact with Safe Protocol Kit

Project Structure

plugin-safe/
├── src/
│   ├── index.ts        # Main plugin entry point
│   ├── actions/        # Plugin actions (GET_BALANCE, etc.)
│   ├── providers/      # Safe wallet provider implementations
│   └── types.ts        # Type definitions
├── package.json
└── README.md

Development

  1. Install dependencies:
pnpm install
  1. Start development mode:
pnpm dev
  1. Build the project:
pnpm build
  1. Run tests:
pnpm test

Environment Variables

The plugin requires the following environment variables for Safe wallet integration:

  • WALLET_PRIVATE_KEY: Private key for the Safe wallet
  • RPC_URL: RPC URL for the blockchain network

Testing

# Run tests
pnpm test

# Run tests with coverage
pnpm test:coverage

Build with

License

ISC

Releases

No releases published

Packages

No packages published