Skip to main content
The Tenderly SDK provides a WalletRepository class for managing wallets associated with your project. The WalletRepository allows you to add, update, and remove wallets. Once you have initialized the Tenderly SDK, you can use the wallets namespace to access the WalletRepository instance. For the equivalent contract operations, see Managing Contracts.

Adding a wallet

To add a new wallet, use the add method of the wallets namespace:
example.jsx

Updating a wallet

To update an existing wallet, use the update method of the wallets namespace:
example.jsx

Removing a wallet

To remove a wallet, use the remove method of the wallets namespace:
example.jsx

Fetching wallets

To fetch wallets associated with your project, use the getAll method of the wallets namespace:
example.jsx

Fetching a single wallet

To fetch a single wallet by its ID, use the get method of the wallets namespace:
example.jsx