Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker-compose-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ x-credentials: &postgres-config

services:
rollups_dispatcher:
image: cartesi/rollups-dispatcher:0.7.0
image: juztamau5/rollups-dispatcher:devel
command:
[
"--rd-dapp-contract-address-file",
Expand Down
22 changes: 21 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ x-credentials: &postgres-config

services:
hardhat:
image: cartesi/rollups-hardhat:0.7.0
image: juztamau5/rollups-hardhat:devel
command:
[
"node",
Expand All @@ -32,6 +32,24 @@ services:
- ./deployments:/app/deployments
- ./export:/opt/cartesi/share/blockchain

ultrachess_deployer:
image: juztamau5/ultrachess-deployer:devel
restart: on-failure
depends_on:
hardhat:
condition: service_healthy
command:
[
"deploy",
"--network",
"docker",
"--export",
"/opt/cartesi/share/blockchain/localhost-ultrachess.json",
]
volumes:
- ./deployments:/app/deployments
- ./export:/opt/cartesi/share/blockchain

rollups_dispatcher:
image: cartesi/rollups-dispatcher:0.7.0
command:
Expand Down Expand Up @@ -153,6 +171,8 @@ services:
condition: service_healthy
deployer:
condition: service_completed_successfully
ultrachess_deployer:
condition: service_completed_successfully
command:
[
"--data",
Expand Down
1 change: 1 addition & 0 deletions export/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
localhost.json
localhost-ultrachess.json
4 changes: 3 additions & 1 deletion front/src/ether/contracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ import * as CartesiTokenPolygonMainnet from "@cartesi/token/deployments/polygon_
import * as CartesiTokenPolygonMumbai from "@cartesi/token/deployments/polygon_mumbai/CartesiToken.json";
import * as SimpleFaucetGoerli from "@cartesi/token/deployments/goerli/SimpleFaucet.json";
import { contracts as contractsLocalhost } from "../abis/localhost.json";
import { contracts as ultrachessLocalhost } from "../../../export/localhost-ultrachess.json";


export const CONTRACTS = {
arbitrum_goerli: {
Expand All @@ -32,7 +34,7 @@ export const CONTRACTS = {
InputFacet: InputFacetGoerli,
SimpleFaucet: SimpleFaucetGoerli,
},
localhost: contractsLocalhost,
localhost: Object.assign({}, contractsLocalhost, ultrachessLocalhost),
mainnet: {
CartesiToken: CartesiTokenMainnet,
},
Expand Down