Application to monitor bridges EVM withdraw requests and verify them again a postchain instance. If an anomaly is
found, it will pause the bridge contract.
mvn clean install --activate-profiles docker
Running it requires 1-2 config files:
- Either a bridge anomaly detector config (see
doc/example.config) with the nodes private key set. - Or a bridge anomaly detector config file + a ordinary node.config file (which the private key will be read from)
docker run --rm -it \
--volume $(pwd)/doc/example.properties:/opt/chromaway/bad/config.properties \
--volume $(pwd)/../directory1-example/config/config.1.properties:/opt/chromaway/directory1-example/config/config.0.properties bridge-anomaly-detector \
config.properties
tar -zxvf bridge-anomaly-detector-<version>-dist.tar.gz
./bridge-anomaly-detector/bin/bad <config file>
Copyright (c) 2017–2024 ChromaWay AB. All rights reserved.
This software can be used either under the terms of commercial license obtained from ChromaWay AB, or, alternatively, under the terms of the GNU General Public License with additional linking exceptions. See file LICENSE for details.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.