Skip to content

themandalore/charon

Repository files navigation

Charon is a privacy enabled cross-chain automated market maker (PECCAMM). It achieves privacy by breaking the link between deposits on one chain and withdrawals on another. Charon works by having AMMs on multiple chains, with one of the assets on each AMM being the charon dollar(CHD), a free-floating price-neutral token created by deposits on an alternate chain and then a withdrawal via a zero-knowledge proof . To achieve this cross-chain functionality, charon utilizes an oracle to pass commitments (proof of deposits) between chains.

For more information, check out the whitepaper

Setting up and testing

The build step compiles the circuit, does untrusted setup, generates verifier contract, and compiles all the contracts. It could take a while at the setup step.

yarn
yarn build
npx hardhat test

Donations

ETH - 0x92683a09B64148369b09f96350B6323D37Af6AE3