You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have comprehensive migration guides to help you transition:
17
+
18
+
-**[Migrate from Defender Monitor to OpenZeppelin Monitor](/defender/migration#monitor-migration)** - Export configurations, set up infrastructure, and test your monitors
19
+
-**[Migrate from Defender Relayer to OpenZeppelin Relayer](/defender/migration#relayer-migration)** - Transfer relayers, update SDK integration, and migrate transaction handling
20
+
21
+
View the complete [Migration Guide](/defender/migration) for detailed instructions.
22
+
23
+
</Callout>
24
+
14
25
OpenZeppelin Defender is a mission-critical developer security platform to **code**, **audit**, **deploy**, **monitor**, and **operate** blockchain applications with confidence.
15
26
16
27
Integrating directly into the developer workflow, Defender makes it easy and fast for developers and operators to prevent and fix security issues pre and post-deployment.
Copy file name to clipboardExpand all lines: content/defender/migration.mdx
+23-23Lines changed: 23 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,8 @@ title: Migrating from Defender to Open Source
7
7
Defender is now in maintenance mode. To continue using monitoring and relaying capabilities with the latest features and updates, we recommend migrating to OpenZeppelin's open source tools.
8
8
9
9
This guide covers:
10
-
- Migrating from **Defender Monitor** to [OpenZeppelin Monitor](/monitor/1.1.x)
11
-
- Migrating from **Defender Relayer** to [OpenZeppelin Relayer](/relayer/1.2.x)
10
+
- Migrating from **Defender Monitor** to [OpenZeppelin Monitor](/monitor)
11
+
- Migrating from **Defender Relayer** to [OpenZeppelin Relayer](/relayer)
12
12
13
13
Both tools are designed to be self-hosted, giving you full control over your infrastructure while maintaining the functionality you rely on.
14
14
@@ -32,9 +32,9 @@ Both tools are designed to be self-hosted, giving you full control over your inf
32
32
33
33
## Monitor Migration
34
34
35
-
### From Defender Monitor to OpenZeppelin Open Source Monitor
35
+
### From Defender Monitor to OpenZeppelin Monitor
36
36
37
-
The open source Monitor offers similar functionality to Defender Monitor:
37
+
OpenZeppelin Monitor offers similar functionality to Defender Monitor:
38
38
39
39
-**Event and function monitoring**: Monitor smart contract events and function calls
40
40
-**Custom filtering**: Write custom JavaScript, Python or Bash filters to match specific conditions
@@ -45,20 +45,20 @@ The open source Monitor offers similar functionality to Defender Monitor:
45
45
To begin your Monitor migration:
46
46
47
47
1.**Review your existing monitors**: Export your Defender Monitor configurations using the "Download OpenZeppelin Monitor Configurations" button
48
-
2.**Import your configurations**: Use the exported configurations to recreate your monitors in the open source version
49
-
3.**Set up the open source Monitor**: Follow the [installation guide](/monitor/1.1.x) to deploy Monitor on your infrastructure
48
+
2.**Import your configurations**: Use the exported configurations to recreate your monitors in OpenZeppelin Monitor
49
+
3.**Set up OpenZeppelin Monitor**: Follow the [installation guide](/monitor) to set up the Monitor.
The "Download OpenZeppelin Monitor Configurations" button will download a .zip file containing configuration files for every active monitor in your Defender account. These configurations are ready to copy and paste directly into the open source Monitor. Before running the monitors, make sure to review and update any placeholder values in the configuration files, such as:
53
+
The "OpenZeppelin Monitor Configurations" button will download a .zip file containing configuration files for every monitor in your Defender account (if you don't have to download some monitor, first delete it). These configurations are ready to copy and paste directly into OpenZeppelin Monitor. Before running the monitors, make sure to review and update any placeholder values in the configuration files, such as:
54
54
55
55
- API keys and secrets
56
56
- RPC URLs and endpoint addresses
57
57
- Webhook URLs for notifications
58
58
- Service integration credentials (Slack, Telegram, Discord, etc.)
59
59
60
60
<Callouttype='warn'>
61
-
Custom Actions attached to your Defender monitors will not be automatically migrated. You will need to manually recreate any custom action logic following the [OpenZeppelin Monitor documentation](/monitor/1.1.x) for trigger handlers and custom notifications.
61
+
Custom Actions attached to your Defender monitors will not be automatically migrated. You will need to manually recreate any custom action logic following the [OpenZeppelin Monitor documentation](/monitor) for trigger handlers and custom notifications.
62
62
</Callout>
63
63
64
64
Alternatively, if you don't want to download all monitor configurations at once, you can navigate to each individual monitor and download its configuration separately. This gives you more control over which monitors to migrate and when.
@@ -69,15 +69,15 @@ Here's a video with the process step by step: https://www.loom.com/share/6de3d26
69
69
70
70
4.**Test your monitors**: Verify that alerts trigger correctly before decommissioning Defender monitors
71
71
72
-
For detailed migration instructions and support, visit the [OpenZeppelin Monitor documentation](/monitor/1.1.x).
72
+
For detailed migration instructions and support, visit the [OpenZeppelin Monitor documentation](/monitor).
73
73
74
74
---
75
75
76
76
## Relayer Migration
77
77
78
-
### From Defender Relayer to OpenZeppelin Open Source Relayer
78
+
### From Defender Relayer to OpenZeppelin Relayer
79
79
80
-
The open source Relayer offers similar functionality to Defender Relayer:
80
+
OpenZeppelin Relayer offers similar functionality to Defender Relayer:
81
81
82
82
-**Transaction relaying**: Submit transactions to supported blockchain networks efficiently
83
83
-**Transaction signing**: Securely sign transactions using configurable key management
@@ -91,22 +91,22 @@ The open source Relayer offers similar functionality to Defender Relayer:
91
91
92
92
To begin your Relayer migration:
93
93
94
-
1.**Review your existing relayers**: Export your Defender Relayer configurations using the "Download OpenZeppelin Relayer Configurations" button
94
+
1.**Review your existing relayers**: Export your Defender Relayer configurations using the "OpenZeppelin Relayer Configurations" button
95
95
96
-
The "Download OpenZeppelin Relayer Configurations" button will download a .zip file containing configuration files for every active relayer in your Defender account. These configurations are ready to copy and paste directly into the open source Relayer. Before running the relayers, make sure to review and update any placeholder values in the configuration files, such as:
The "Download OpenZeppelin Relayer Configurations" button will download a .zip file containing configuration files for every relayer in your Defender account (if you don't want to download some relayer, first delete it). These configurations are ready to copy and paste directly into OpenZeppelin Relayer. Before running the relayers, make sure to review and update any placeholder values in the configuration files, such as:
99
99
100
-
2.**Set up the open source Relayer**: Follow the [installation guide](/relayer/1.2.x) to deploy the Relayer on your infrastructure
101
-
3.**Import your configurations**: Use the exported configurations to recreate your relayers in the open source version
100
+
2.**Set up OpenZeppelin Relayer**: Follow the [installation guide](/relayer) to deploy the Relayer on your infrastructure
101
+
3.**Import your configurations**: Use the exported configurations to recreate your relayers in OpenZeppelin Relayer
102
102
103
103
- RPC URLs and endpoint addresses
104
104
- Signer configurations and private keys
105
105
- Network-specific policies
106
106
- Webhook URLs for notifications
107
107
108
108
4.**Test your relayers**: Verify that transactions are processed correctly before decommissioning Defender relayers
109
-
5.**Transfer funds**: Once your open source relayers are fully configured and running, transfer the funds from your Defender relayers to your new open source relayer addresses using the Withdraw functionality
109
+
5.**Transfer funds**: Once your OpenZeppelin Relayers are fully configured and running, transfer the funds from your Defender relayers to your new OpenZeppelin Relayer addresses using the Withdraw functionality
110
110
6.**Gradually move volume**: Shift traffic from Defender relayer to OpenZeppelin Relayer incrementally
111
111
112
112
Here's a video with the process step by step: https://www.loom.com/share/cb5e0f5d8c064a71abc8c18fac273cf0
Copy file name to clipboardExpand all lines: content/defender/module/monitor.mdx
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,14 @@
2
2
title: Monitor
3
3
---
4
4
5
+
<Callouttype='warn'title='Defender is in Maintenance Mode'>
6
+
7
+
Defender is now in maintenance mode. To continue monitoring your smart contracts with the latest features and updates, we recommend migrating to [OpenZeppelin Monitor](/monitor).
8
+
9
+
See the complete [Migration Guide](/defender/migration#monitor-migration) for detailed instructions on exporting your configurations.
10
+
11
+
</Callout>
12
+
5
13
Monitors allow you to gain full visibility into your smart contracts' risks and behaviors. You can detect threats, get alerts on threats and anomalies, and automatically respond and resolve issues.
6
14
7
15
## Use cases
@@ -443,10 +451,3 @@ Saving a monitor as a template stores its configuration and parameters, which ca
443
451
We provide a quickstart tutorial to monitor a smart contract using Defender. Check it out [here](/defender/tutorial/monitor)!
444
452
</Callout>
445
453
446
-
## Migration to Open Source
447
-
448
-
<Callout type='warn'>
449
-
Defender is now in maintenance mode. Tocontinue monitoring your smart contracts with the latest features and updates, we recommend migrating to the [OpenZeppelin open source Monitor](/monitor/1.1.x).
450
-
451
-
See the complete [Migration Guide](/defender/migration#monitor-migration) for detailed instructions on exporting your configurations, setting up the open source Monitor, and testing your migration.
Copy file name to clipboardExpand all lines: content/defender/module/relayers.mdx
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,15 @@
2
2
title: Relayers
3
3
---
4
4
5
-
Relayers allow you to send on-chain transactions via regular API requests or through other Defender modules, like Actions, Workflows, and Deploy. Relayers also automate the payment of gas fees and take care of private key secure storage, transaction signing, nonce management, gas pricing estimation, and resubmissions. With Relayers, you don’t have to worry about storing private keys on your back-end servers or monitoring gas prices and transactions to ensure they get confirmed.
5
+
<Callouttype='warn'title='Defender is in Maintenance Mode'>
6
+
7
+
Defender is now in maintenance mode. To continue relaying transactions with the latest features and updates, we recommend migrating to [OpenZeppelin Relayer](/relayer).
8
+
9
+
See the complete [Migration Guide](/defender/migration#relayer-migration) for detailed instructions on exporting your configurations.
10
+
11
+
</Callout>
12
+
13
+
Relayers allow you to send on-chain transactions via regular API requests or through other Defender modules, like Actions, Workflows, and Deploy. Relayers also automate the payment of gas fees and take care of private key secure storage, transaction signing, nonce management, gas pricing estimation, and resubmissions. With Relayers, you don't have to worry about storing private keys on your back-end servers or monitoring gas prices and transactions to ensure they get confirmed.
6
14
7
15
## Use cases
8
16
@@ -725,11 +733,3 @@ When sending transactions to a rollup chain, such as Arbitrum or Optimism, Relay
725
733
## Inactivity
726
734
727
735
Testnet relayers are considered inactive if they haven’t sent any transactions in more than 60 days. When a testnet relayer is inactive, we provide a 14-day grace period to mark the relayer as active. If users don’t take any action, the relayer will be automatically deleted once the period is over.
728
-
729
-
## Migration to Open Source
730
-
731
-
<Callout type='warn'>
732
-
Defender is now in maintenance mode. To continue relaying transactions with the latest features and updates, we recommend migrating to the [OpenZeppelin open source Relayer](/relayer/1.2.x).
733
-
734
-
See the complete [Migration Guide](/defender/migration#relayer-migration) for detailed instructions on exporting your configurations, setting up the open source Relayer, SDK migration, and testing your migration.
0 commit comments