Oracle3
Oracle3: 예측시장 거래 엔진·MCP 서버
Common ground for the Ambire apps. This package puts together the core business logic behind the Ambire browser extensions and mobile apps.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
This package puts together the core business logic behind the Ambire browser extensions and (the future) mobile apps.
This package is not intended to run standalone.
It’s meant to be used as a dependency by Ambire apps.
You may install it standalone only for development purposes — e.g. to run tests, make changes, or compile it locally:
Create ".env" file in the root directory and fill in all variables, see ".env-sample" for a reference.
We follow a lightweight Git branching model:README 전문 보기 ↗This package puts together the core business logic behind the Ambire browser extensions and (the future) mobile apps.
This package is not intended to run standalone.
It’s meant to be used as a dependency by Ambire apps.
You may install it standalone only for development purposes — e.g. to run tests, make changes, or compile it locally:
npm install
Create ".env" file in the root directory and fill in all variables, see ".env-sample" for a reference.
We follow a lightweight Git branching model:
v1 (legacy)
v1 branch (ex master branch), now archived as the final state of the v1 codebase. Ambire v1 apps are in maintenance mode, so occasionally small changes may be applied to this branch.develop branch - deprecated and deleted; used in the past for v1 developmentv2 (current)
v2 branch is our active development branchmain branch - reflects the current production version, all releases are merged hereThis package does not include compiled JS and TS output in the repository.
Each Ambire app compiles it individually as needed.
The dist/ folder exists for internal use only. It may contain some compiled files, but it is not kept up to date and not updated on release.
Do not rely on dist/ as a source of compiled code.
Example on how to manually compile a file to the dist/ folder:
tsc src/libs/portfolio/getOnchainBalances.ts \
--target es2020 \
--module commonjs \
--esModuleInterop true \
--sourceMap true \
--resolveJsonModule true \
--outDir ./dist
This package contains all of the contracts that are used within ambire-common, as well as contracts that are used in projects that have ambire-common as dependency. Do not delete compiled contracts unless you are sure they are not used in the Ambire web wallet, mobile wallet and relayer.
To compile specific set of contracts, simply list the contract names in the command compile:contracts like so:
npm run compile:contracts WALLETSupplyController LegendsNFTImplementation
Always commit in ambire-common code that's compatible with web & mobile both 🤞
Make sure your code editor has plugins that support the following configuration files: .editorconfig, .prettierrc, tsconfig.json, eslintrc.js, import-sorter.json.
How to deploy Ambire 7702: