Oracle3
Oracle3: 예측시장 거래 엔진·MCP 서버
STRATO는 귀금속으로 뒷받침되는 디파이 플랫폼으로, 암호화폐를 연결하고 금·은으로 스테이블코인 빌리며 수익을 얻는다
STRATO is a DeFi platform backed by precious metals. Bridge crypto, borrow stablecoins against gold and silver, and earn yield — all in one place.
금융Haskell · TypeScriptGitHub @strato-net온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
STRATO platform
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
Choose one of the following options to install dependencies:
• OPTION A (recommended): (Supported OS: Ubuntu 24.04, Amazon Linux 2023, macOS, Linux Mint) Run the install script which installs all dependencies automatically (Stack, Docker, libraries):
• OPTION B: Install dependencies manually:
• Stack (build time)
• Docker with Compose plugin (build+runtime)
• Docker should run as a non-root user. Add your user to the docker group:
For more information, refer to the Docker post-installation steps.
• Libraries:
• Ubuntu 24.04:README 전문 보기 ↗Nothing to build: the images of every commit and release are published on BlockApps' registry, ghcr.io/strato-net/strato-platform. You need Docker Engine with the Compose plugin, git, python3, curl and zstd (for --snapshot), as a user in the docker group or as root.
git clone https://github.com/strato-net/strato-platform
cd strato-platform
./bin/strato-up mynode --localAuth --sslDir=/path/to/ssl --dockerMode=all --prebuilt
--dockerMode=all runs the node processes in a strato container next to the service containers; strato-up then manages the node as one compose project.--prebuilt pulls the images of the checked-out commit (strato:<VERSION>-<commit>); --prebuilt=<tag> names an image explicitly. Images appear a few minutes after a commit is pushed.--localAuth makes the node its own identity provider, so strato-login is not needed. Without --sslDir, nginx serves plain HTTP on 8081 and the host name must be a single label, e.g. --nodeHost=stratonode.--network=helium, --snapshot, --role=api-node or --role=validator, --p2pPort and --discoveryPort (default 30303).Afterwards ./bin/strato-ps mynode, ./bin/strato-down mynode and ./bin/strato-up mynode (no flags; data is kept) work from the checkout. Full guide: techdocs/node/prebuilt.md.
git clone https://github.com/strato-net/strato-platform
cd strato-platform
Choose one of the following options to install dependencies:
./install_deps.sh
sudo groupadd docker ; sudo usermod -aG docker $USER && newgrp docker ; docker ps
For more information, refer to the Docker post-installation steps.sudo apt install -y \
libleveldb-dev \
liblzma-dev \
libpq-dev \
- macOS — choose one:
- Install libraries system-wide using [Homebrew](https://brew.sh/):
```
brew install --quiet \
leveldb \
postgresql \
libsodium \
pkg-config \
secp256k1 \
xz
```
- Use [Nix](https://nix.dev/install-nix.html): Install Nix and use the predefined packages in an isolated path (no need to install libraries system-wide)
Important: Do not run the build or deploy commands under the root user or with the
sudoprefix — this prevents permission issues.
make
For Nix-based builds, use NIX=true make instead.
Login before the very first run:
strato-login
To get the credentials for your node server, submit a request for client credentials at https://support.blockapps.net
Start the node:
<OPTIONAL_ENV_VARS> strato-up mynode --network=helium --nodeHost=example.com --sslDir='/path/to/ssl'
/path/to/ssl should contain server.pem and server.key directly (no subdirectories), with read permissions for all users (chmod 444 server.*).--network=helium for testnet or --network=upquark for mainnet (default).--localAuth to make the node its own identity provider; strato-login is then not needed. Every flag, including --role, --p2pPort, --discoveryPort and --dockerMode, is described in techdocs/node/configuration.md.Stop the node:
strato-down
Stop and wipe all data:
strato-down
rm -rf mynode/
Steps to rebuild and patch the app on a running STRATO node.
make app
This builds both app images and prints the command to deploy them (similar to make but only builds the app)
Update the app-backend and app-ui image tags in the node's docker-compose.yml:
strato-patch-app mynode app-backend:<tag> app-ui:<tag>
Use the exact image tags printed by make app.
How the new images take effect depends on whether the node is currently running:
strato-patch-app only rewrites the image tags in docker-compose.yml. The new images will be picked up automatically on the next strato-up.run.sh), so the recreated containers get the same environment they were originally launched with:
<ENV VARS> docker compose -p strato up -d --no-deps app-backend app-ui
strato-down && ./run.sh
For local development that requires a STRATO node, restore a pre-synced snapshot instead of syncing from genesis. The simplest path is to start a node directly from the latest published snapshot for the network:
strato-up mynode --network=helium --snapshot
--snapshot downloads the latest snapshot for the network; append a timestamp (--snapshot=YYYYMMDD-HH:mm:ssZ) to pick a specific one. To restore without starting, or to restore from an explicit location:
# Latest published snapshot for the network:
strato-snapshot restore mynode --snapshot --network helium
# An explicit local file or S3 URI:
strato-snapshot restore mynode \
--source s3://strato-snapshots/helium/latest.tar.zst \
--network helium
strato-up mynode
To restart an existing node from the latest snapshot with minimal downtime, download the snapshot first while the node is still running. The restore then reuses the cached archive instead of downloading it while the node is down:
strato-snapshot pull mynode
strato-down mynode && rm -rf mynode && strato-up mynode --network=helium --snapshot
Snapshot artifacts are cold copies of .ethereumH, Postgres, Redis and JLog state. They are published per snapshot version: develop builds the JLog streaming backend and uses v2, published under s3://strato-snapshots/<network>/v2/; v1 (Kafka) snapshots stay at the unversioned root for older builds. See design-documents/node-snapshot-tool-README.md for the full CLI and design-documents/node-snapshot-dev-loop.md for the create/restore contract and safety checks.