Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

AugurForkingLayer

AugurForkingLayer currently hosts Zoltar, a forkable oracle with Solidity contracts and a web interface for managing questions, universes, and reputation-token migration.

Zoltar is kept in its own zoltar/ workspace. Its dependencies, contracts, UI, tests, and build tools run independently of any future AugurForkingLayer components.

What Zoltar does

  • Registers questions and their possible outcomes.
  • Tracks oracle universes and reputation (REP) tokens.
  • Supports forking a universe around a question and creating outcome-specific child universes.
  • Provides UI workflows for contract deployment, question creation, forking, and REP migration.
  • Includes a browser simulation for exploring these workflows without a wallet or public-chain transactions.

UI screenshots

These screenshots show the production UI completing question creation, forking, and REP migration with simulated contracts.

Create a question

Define the question, outcomes, and resolution time before submitting it.

Zoltar question creation form

Fork a universe

Approve the required REP and fork the universe around the selected question.

Zoltar fork form after REP approval

Migrate REP

Split REP into outcome-specific child universes and view the resulting token balances.

Zoltar REP migration with a completed split and child universe balances

Run locally

Install Bun 1.4.2 and Node.js 20+, then run:

cd zoltar
bun run setup
bun run app:serve:zoltar

Open the simulated Zoltar UI. For automatic rebuilds during development, use bun run app:watch:zoltar instead of the serve command.

See the Zoltar README for wallet connections, local-chain settings, production builds, and deployment commands.

Repository layout

Path Purpose
zoltar/solidity/ Contracts, compiler, and contract tests
zoltar/shared/ Shared runtime and Zoltar protocol libraries
zoltar/ui/ Zoltar application, shared UI components, and browser simulation
zoltar/tooling/ Build, validation, browser, and deployment tools
zoltar/docs/ Protocol and operator notes
.github/ CI with browser checks, release builds, and manual testnet deployment

Validate

From zoltar/:

bun run build:prod
bun run compile-contracts
bun run check
bun run test
bun run check:artifacts
bun run test:browser

check runs TypeScript, formatting, lint, import-boundary checks, and Knip in normal and production modes. test runs the contract, UI/runtime, and tooling suites. Browser checks require Chromium; set CHROMIUM_PATH if it is not detected automatically.

CI runs these checks on pull requests, including browser smoke tests and the full question-to-REP-migration workflow.

Integration

The production artifact check compares all 19 contract ABIs and creation/runtime bytecodes with the recorded contract baseline.

Future integrations should use IZoltar.sol, generated ABIs, and runtime package exports. The UI application and private build tools remain internal to the Zoltar workspace.

See protocol and operator notes and the Zoltar license.

Network addresses

Generated deterministic addresses are listed for mainnet and Sepolia. Run bun run addresses:update from zoltar/ after contract or configuration changes. CI checks that both files are current. These files do not confirm on-chain deployment.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages