situation-room
所属分类:项目开发与运营
开发工具:Elixir
文件大小:0KB
下载次数:0
上传日期:2023-08-13 08:42:29
上 传 者:
sh-1993
说明: 监控智能合约决策危机中心,
(Monitor Decision making crises center for smart contracts,)
文件列表:
.dockerignore (1270, 2023-08-26)
.formatter.exs (225, 2023-08-26)
Dockerfile (2451, 2023-08-26)
SECURITY.md (185, 2023-08-26)
assets/ (0, 2023-08-26)
assets/css/ (0, 2023-08-26)
assets/css/app.css (145, 2023-08-26)
assets/js/ (0, 2023-08-26)
assets/js/app.js (1578, 2023-08-26)
assets/tailwind.config.js (2410, 2023-08-26)
assets/vendor/ (0, 2023-08-26)
assets/vendor/heroicons/ (0, 2023-08-26)
assets/vendor/heroicons/LICENSE.md (1075, 2023-08-26)
assets/vendor/heroicons/UPGRADE.md (347, 2023-08-26)
assets/vendor/heroicons/optimized/ (0, 2023-08-26)
assets/vendor/heroicons/optimized/20/ (0, 2023-08-26)
assets/vendor/heroicons/optimized/20/solid/ (0, 2023-08-26)
assets/vendor/heroicons/optimized/20/solid/academic-cap.svg (1010, 2023-08-26)
assets/vendor/heroicons/optimized/20/solid/adjustments-horizontal.svg (576, 2023-08-26)
assets/vendor/heroicons/optimized/20/solid/adjustments-vertical.svg (578, 2023-08-26)
assets/vendor/heroicons/optimized/20/solid/archive-box-arrow-down.svg (456, 2023-08-26)
assets/vendor/heroicons/optimized/20/solid/archive-box-x-mark.svg (501, 2023-08-26)
assets/vendor/heroicons/optimized/20/solid/archive-box.svg (359, 2023-08-26)
assets/vendor/heroicons/optimized/20/solid/arrow-down-circle.svg (330, 2023-08-26)
assets/vendor/heroicons/optimized/20/solid/arrow-down-left.svg (304, 2023-08-26)
assets/vendor/heroicons/optimized/20/solid/arrow-down-on-square-stack.svg (569, 2023-08-26)
assets/vendor/heroicons/optimized/20/solid/arrow-down-on-square.svg (385, 2023-08-26)
assets/vendor/heroicons/optimized/20/solid/arrow-down-right.svg (250, 2023-08-26)
assets/vendor/heroicons/optimized/20/solid/arrow-down-tray.svg (454, 2023-08-26)
assets/vendor/heroicons/optimized/20/solid/arrow-down.svg (317, 2023-08-26)
assets/vendor/heroicons/optimized/20/solid/arrow-left-circle.svg (475, 2023-08-26)
assets/vendor/heroicons/optimized/20/solid/arrow-left-on-rectangle.svg (628, 2023-08-26)
assets/vendor/heroicons/optimized/20/solid/arrow-left.svg (319, 2023-08-26)
assets/vendor/heroicons/optimized/20/solid/arrow-long-down.svg (309, 2023-08-26)
... ...
> ** We are looking for unlaunched projects that want to use this software from the start when building and safeguarding their community!**
# WeStaySafe - Situation Room
WeStaySafe Situation room is a monitoring/intervention security platform. The community can check and block malicious smart contract transactions. As last resort the community can even circuit break the protocol. So how do we do this:
1. We have a real-time dashboard to see all incoming transactions
2, These transactions are time-delayed and this gives the community the chance to block them if they are malicious against the protocol
3. In case of a serious hack (with many malicious transactions) the community can circuit break the protocol
4. If the transaction time-delay is over the transaction initiator can withdraw their funds (if the protocol is not circuit-breaker mode)
![WeStaySafe Dashboard](https://westaysafe.com/images/screenshot-situation-room.jpg)
## Features
- Easy to add your chain(s) network information
- Easy to add contract monitors
- Real-time dashboard for monitoring transactions
- Indexer for contract logs
- Notification alerts for your community (WIP)
## How to deploy
1. Clone/Fork repository
2. Create a fly.io account
3. Run the following command from the root: `fly launch`
## Prerequisites for running this locally
- Elixir should be installed, if not check: https://elixir-lang.org/install.html
- Phoenix should be installed, if not check: https://hexdocs.pm/phoenix/installation.html
- NodeJS should be installed, if not check: https://nodejs.org/en/download
- Postgres should be installed if not check
- for MacOS: https://postgresapp.com/
- for Windows: https://www.postgresql.org/download/windows/
- for Linux: https://www.postgresql.org/download/
### Install (and setup/migrate local database)
```
mix setup
```
### Run the software locally
```
mix phx.server
```
### Run the software locally with Elixir REPL
```
iex -S mix phx.server
```
## ♂ Contributing
If you have any suggestions/improvements/feedback that is great! Create an issue, a pull request or whatever you prefer!
近期下载者:
相关文件:
收藏者: