No description
  • Solidity 67.1%
  • JavaScript 26.3%
  • Ruby 5.3%
  • Python 1%
  • Shell 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-02 14:22:07 +00:00
.github/workflows Initial commit 2025-08-27 14:13:33 +09:00
broadcast Fix AmmERC20 name 2025-08-29 14:15:04 +09:00
lib Initial commit 2025-08-27 14:13:33 +09:00
script Deploy to testnet 2025-08-28 12:41:39 +09:00
src Fix AmmERC20 name 2025-08-29 14:15:04 +09:00
test Add additional trading fee test 2025-08-28 12:23:24 +09:00
.gitignore Initial commit 2025-08-27 14:13:33 +09:00
.gitmodules Initial commit 2025-08-27 14:13:33 +09:00
CODEOWNERS Add CODEOWNERS for org code maintainers. 2026-09-02 14:22:07 +00:00
foundry.toml Initial commit 2025-08-27 14:13:33 +09:00
LICENSE Initial commit 2025-08-27 14:13:33 +09:00
README.md Deploy to testnet 2025-08-28 12:41:39 +09:00
remappings.txt Initial commit 2025-08-27 14:13:33 +09:00

KRChange Dex

Settable fee v2 dex for Kasplex

Deployments

Kasplex Testnet

Contract Address
Factory 0xa1b0785Cb418D666BE9069400f4d4D7a86e3F5e0
Router 0x820d8AE8378eD32eFfa50C93A0ee06e5942FB175
AmmZapV1 0x991291B2bB4c49228a687CeD72EABd34d7Aeaa0b

Kasplex Mainnet

Contract Address
Factory
Router
AmmZapV1

build

forge build --via-ir

deployment

Key variables are set in the script, and should be updated correctly for the network.

forge script script/DeployDex.s.sol:DeployDex --broadcast --verify -vvv --rpc-url https://rpc.kasplextest.xyz --verifier blockscout --verifier-url 'https://explorer.testnet.kasplextest.xyz/api/' -i 1 --sender $DEPLOYER_ADDRESS

LICENSE

License: AGPL-3.0 — see LICENSE.