Skip to content
Merged
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
4 changes: 2 additions & 2 deletions solidity/scripts/deployContracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ module.exports.deployContracts = async function (deployment, hitPointOption) {

const initialBaseImageURL = (() => {
if (deployment.hre.network.name == "mainnet") {
return 'https://relics.thecrypt.game/';
return 'https://thecryptassets.duckdns.org/';
Copy link

Copilot AI Nov 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using DuckDNS (a free dynamic DNS service) for production mainnet assets may pose reliability and availability risks. DuckDNS hostnames can expire if not renewed, and the service doesn't provide uptime guarantees suitable for production. Consider using a more reliable hosting solution with proper domain management for mainnet deployments.

Suggested change
return 'https://thecryptassets.duckdns.org/';
if (process.env.RELIC_ASSETS_URL) {
return process.env.RELIC_ASSETS_URL;
} else {
throw new Error("RELIC_ASSETS_URL environment variable must be set for mainnet deployments. Do not use DuckDNS for production assets.");
}

Copilot uses AI. Check for mistakes.
} else if (process.env.RELIC_ASSETS_URL) {
return process.env.RELIC_ASSETS_URL;
} else {
Expand All @@ -280,7 +280,7 @@ module.exports.deployContracts = async function (deployment, hitPointOption) {

// chapter 2
console.log(`deploying dungeon2 with ${hitPointOption} hit points: ${dungeon2HitPointOptions[hitPointOption]})`);
const dungeon2RaidingFee = "10000000000000000"; // 0.01E
const dungeon2RaidingFee = "0"; // was 0.01E on launch - set to free now
const dungeon2BlocksBetweenFreeRaids = 6545; // ~24hrs
const dungeon2Args = [
16,
Expand Down
Loading