diff --git a/mainnet/0x012f6f8ded4e1f977953cd8dbfff31ebb902549c.json b/mainnet/0x012f6f8ded4e1f977953cd8dbfff31ebb902549c.json new file mode 100644 index 0000000..cb7fc8d --- /dev/null +++ b/mainnet/0x012f6f8ded4e1f977953cd8dbfff31ebb902549c.json @@ -0,0 +1,10 @@ +{ + "moniker": "Somnia-2", + "details": "The Dream Computer For A Fully Onchain World", + "profile": "./images/0x012f6f8ded4e1f977953cd8dbfff31ebb902549c.png", + "background": "./background/0x012f6f8ded4e1f977953cd8dbfff31ebb902549c.png", + "contact": { + "email": "developers@somnia.network", + "website": "https://somnia.network" + } +} \ No newline at end of file diff --git a/mainnet/0x1ea1c5d797efcc4a1113564da5aa5efa6807a37d.json b/mainnet/0x1ea1c5d797efcc4a1113564da5aa5efa6807a37d.json new file mode 100644 index 0000000..1d7c28d --- /dev/null +++ b/mainnet/0x1ea1c5d797efcc4a1113564da5aa5efa6807a37d.json @@ -0,0 +1,10 @@ +{ + "moniker": "Somnia-1", + "details": "The Dream Computer For A Fully Onchain World", + "profile": "./images/0x1ea1c5d797efcc4a1113564da5aa5efa6807a37d.png", + "background": "./background/0x1ea1c5d797efcc4a1113564da5aa5efa6807a37d.png", + "contact": { + "email": "developers@somnia.network", + "website": "https://somnia.network" + } +} \ No newline at end of file diff --git a/mainnet/0x2e1386B19979734C6d07f94b07cb09376485ae11.json b/mainnet/0x2e1386b19979734c6d07f94b07cb09376485ae11.json similarity index 100% rename from mainnet/0x2e1386B19979734C6d07f94b07cb09376485ae11.json rename to mainnet/0x2e1386b19979734c6d07f94b07cb09376485ae11.json diff --git a/mainnet/0x48d3731aee37b8ca88d2165aa9593f3d030b7ed8.json b/mainnet/0x48d3731aee37b8ca88d2165aa9593f3d030b7ed8.json new file mode 100644 index 0000000..d6fc370 --- /dev/null +++ b/mainnet/0x48d3731aee37b8ca88d2165aa9593f3d030b7ed8.json @@ -0,0 +1,10 @@ +{ + "moniker": "Somnia-3", + "details": "The Dream Computer For A Fully Onchain World", + "profile": "./images/0x48d3731aee37b8ca88d2165aa9593f3d030b7ed8.png", + "background": "./background/0x48d3731aee37b8ca88d2165aa9593f3d030b7ed8.png", + "contact": { + "email": "developers@somnia.network", + "website": "https://somnia.network" + } +} \ No newline at end of file diff --git a/mainnet/0xcf510e6d1138e5d2867eecb05479b430042e3b2a.json b/mainnet/0xcf510e6d1138e5d2867eecb05479b430042e3b2a.json new file mode 100644 index 0000000..29ac51e --- /dev/null +++ b/mainnet/0xcf510e6d1138e5d2867eecb05479b430042e3b2a.json @@ -0,0 +1,10 @@ +{ + "moniker": "Somnia-Ecosystem-0", + "details": "The Dream Computer For A Fully Onchain World", + "profile": "./images/0xcf510e6d1138e5d2867eecb05479b430042e3b2a.png", + "background": "./background/0xcf510e6d1138e5d2867eecb05479b430042e3b2a.png", + "contact": { + "email": "developers@somnia.network", + "website": "https://somnia.network" + } +} \ No newline at end of file diff --git a/mainnet/0xda7615e8d08847d1627183c04d44f2d2517e2cd9.json b/mainnet/0xda7615e8d08847d1627183c04d44f2d2517e2cd9.json new file mode 100644 index 0000000..16412a7 --- /dev/null +++ b/mainnet/0xda7615e8d08847d1627183c04d44f2d2517e2cd9.json @@ -0,0 +1,10 @@ +{ + "moniker": "Somnia-Ecosystem-1", + "details": "The Dream Computer For A Fully Onchain World", + "profile": "./images/0xda7615e8d08847d1627183c04d44f2d2517e2cd9.png", + "background": "./background/0xda7615e8d08847d1627183c04d44f2d2517e2cd9.png", + "contact": { + "email": "developers@somnia.network", + "website": "https://somnia.network" + } +} \ No newline at end of file diff --git a/mainnet/0xe614f4872c9181ce35a8fcd6cb743bab1c2a7f8e copy.json b/mainnet/0xe614f4872c9181ce35a8fcd6cb743bab1c2a7f8e copy.json new file mode 100644 index 0000000..2bed834 --- /dev/null +++ b/mainnet/0xe614f4872c9181ce35a8fcd6cb743bab1c2a7f8e copy.json @@ -0,0 +1,10 @@ +{ + "moniker": "Somnia-0", + "details": "The Dream Computer For A Fully Onchain World", + "profile": "./images/0xe614f4872c9181ce35a8fcd6cb743bab1c2a7f8e.png", + "background": "./background/0xe614f4872c9181ce35a8fcd6cb743bab1c2a7f8e.png", + "contact": { + "email": "developers@somnia.network", + "website": "https://somnia.network" + } +} \ No newline at end of file diff --git a/mainnet/0xf71cc14574404100fec4c0ac5bb6bb606601c8bd.json b/mainnet/0xf71cc14574404100fec4c0ac5bb6bb606601c8bd.json new file mode 100644 index 0000000..592622c --- /dev/null +++ b/mainnet/0xf71cc14574404100fec4c0ac5bb6bb606601c8bd.json @@ -0,0 +1,10 @@ +{ + "moniker": "Somnia-Ecosystem-2", + "details": "The Dream Computer For A Fully Onchain World", + "profile": "./images/0xf71cc14574404100fec4c0ac5bb6bb606601c8bd.png", + "background": "./background/0xf71cc14574404100fec4c0ac5bb6bb606601c8bd.png", + "contact": { + "email": "developers@somnia.network", + "website": "https://somnia.network" + } +} \ No newline at end of file diff --git a/mainnet/background/0x012f6f8ded4e1f977953cd8dbfff31ebb902549c.png b/mainnet/background/0x012f6f8ded4e1f977953cd8dbfff31ebb902549c.png new file mode 100644 index 0000000..50f9253 Binary files /dev/null and b/mainnet/background/0x012f6f8ded4e1f977953cd8dbfff31ebb902549c.png differ diff --git a/mainnet/background/0x1ea1c5d797efcc4a1113564da5aa5efa6807a37d.png b/mainnet/background/0x1ea1c5d797efcc4a1113564da5aa5efa6807a37d.png new file mode 100644 index 0000000..50f9253 Binary files /dev/null and b/mainnet/background/0x1ea1c5d797efcc4a1113564da5aa5efa6807a37d.png differ diff --git a/mainnet/background/0x2e1386b19979734c6d07f94b07cb09376485ae11.png b/mainnet/background/0x2e1386b19979734c6d07f94b07cb09376485ae11.png new file mode 100644 index 0000000..968345d Binary files /dev/null and b/mainnet/background/0x2e1386b19979734c6d07f94b07cb09376485ae11.png differ diff --git a/mainnet/background/0x48d3731aee37b8ca88d2165aa9593f3d030b7ed8.png b/mainnet/background/0x48d3731aee37b8ca88d2165aa9593f3d030b7ed8.png new file mode 100644 index 0000000..50f9253 Binary files /dev/null and b/mainnet/background/0x48d3731aee37b8ca88d2165aa9593f3d030b7ed8.png differ diff --git a/mainnet/background/0xcf510e6d1138e5d2867eecb05479b430042e3b2a.png b/mainnet/background/0xcf510e6d1138e5d2867eecb05479b430042e3b2a.png new file mode 100644 index 0000000..857d41e Binary files /dev/null and b/mainnet/background/0xcf510e6d1138e5d2867eecb05479b430042e3b2a.png differ diff --git a/mainnet/background/0xda7615e8d08847d1627183c04d44f2d2517e2cd9.png b/mainnet/background/0xda7615e8d08847d1627183c04d44f2d2517e2cd9.png new file mode 100644 index 0000000..857d41e Binary files /dev/null and b/mainnet/background/0xda7615e8d08847d1627183c04d44f2d2517e2cd9.png differ diff --git a/mainnet/background/0xe614f4872c9181ce35a8fcd6cb743bab1c2a7f8e.png b/mainnet/background/0xe614f4872c9181ce35a8fcd6cb743bab1c2a7f8e.png new file mode 100644 index 0000000..50f9253 Binary files /dev/null and b/mainnet/background/0xe614f4872c9181ce35a8fcd6cb743bab1c2a7f8e.png differ diff --git a/mainnet/background/0xf71cc14574404100fec4c0ac5bb6bb606601c8bd.png b/mainnet/background/0xf71cc14574404100fec4c0ac5bb6bb606601c8bd.png new file mode 100644 index 0000000..857d41e Binary files /dev/null and b/mainnet/background/0xf71cc14574404100fec4c0ac5bb6bb606601c8bd.png differ diff --git a/mainnet/background/image.png b/mainnet/background/image.png new file mode 100644 index 0000000..857d41e Binary files /dev/null and b/mainnet/background/image.png differ diff --git a/mainnet/images/0x012f6f8ded4e1f977953cd8dbfff31ebb902549c.png b/mainnet/images/0x012f6f8ded4e1f977953cd8dbfff31ebb902549c.png new file mode 100644 index 0000000..94ada6a Binary files /dev/null and b/mainnet/images/0x012f6f8ded4e1f977953cd8dbfff31ebb902549c.png differ diff --git a/mainnet/images/0x1ea1c5d797efcc4a1113564da5aa5efa6807a37d.png b/mainnet/images/0x1ea1c5d797efcc4a1113564da5aa5efa6807a37d.png new file mode 100644 index 0000000..94ada6a Binary files /dev/null and b/mainnet/images/0x1ea1c5d797efcc4a1113564da5aa5efa6807a37d.png differ diff --git a/mainnet/images/0x2e1386b19979734c6d07f94b07cb09376485ae11.png b/mainnet/images/0x2e1386b19979734c6d07f94b07cb09376485ae11.png new file mode 100644 index 0000000..d803523 Binary files /dev/null and b/mainnet/images/0x2e1386b19979734c6d07f94b07cb09376485ae11.png differ diff --git a/mainnet/images/0x48d3731aee37b8ca88d2165aa9593f3d030b7ed8.png b/mainnet/images/0x48d3731aee37b8ca88d2165aa9593f3d030b7ed8.png new file mode 100644 index 0000000..94ada6a Binary files /dev/null and b/mainnet/images/0x48d3731aee37b8ca88d2165aa9593f3d030b7ed8.png differ diff --git a/mainnet/images/0xcf510e6d1138e5d2867eecb05479b430042e3b2a.png b/mainnet/images/0xcf510e6d1138e5d2867eecb05479b430042e3b2a.png new file mode 100644 index 0000000..3569bb5 Binary files /dev/null and b/mainnet/images/0xcf510e6d1138e5d2867eecb05479b430042e3b2a.png differ diff --git a/mainnet/images/0xda7615e8d08847d1627183c04d44f2d2517e2cd9.png b/mainnet/images/0xda7615e8d08847d1627183c04d44f2d2517e2cd9.png new file mode 100644 index 0000000..3569bb5 Binary files /dev/null and b/mainnet/images/0xda7615e8d08847d1627183c04d44f2d2517e2cd9.png differ diff --git a/mainnet/images/0xe614f4872c9181ce35a8fcd6cb743bab1c2a7f8e.png b/mainnet/images/0xe614f4872c9181ce35a8fcd6cb743bab1c2a7f8e.png new file mode 100644 index 0000000..94ada6a Binary files /dev/null and b/mainnet/images/0xe614f4872c9181ce35a8fcd6cb743bab1c2a7f8e.png differ diff --git a/mainnet/images/0xf71cc14574404100fec4c0ac5bb6bb606601c8bd.png b/mainnet/images/0xf71cc14574404100fec4c0ac5bb6bb606601c8bd.png new file mode 100644 index 0000000..3569bb5 Binary files /dev/null and b/mainnet/images/0xf71cc14574404100fec4c0ac5bb6bb606601c8bd.png differ diff --git a/mainnet/images/image.png b/mainnet/images/image.png new file mode 100644 index 0000000..3569bb5 Binary files /dev/null and b/mainnet/images/image.png differ diff --git a/mainnet/somnia.json b/mainnet/somnia.json new file mode 100644 index 0000000..2bed834 --- /dev/null +++ b/mainnet/somnia.json @@ -0,0 +1,10 @@ +{ + "moniker": "Somnia-0", + "details": "The Dream Computer For A Fully Onchain World", + "profile": "./images/0xe614f4872c9181ce35a8fcd6cb743bab1c2a7f8e.png", + "background": "./background/0xe614f4872c9181ce35a8fcd6cb743bab1c2a7f8e.png", + "contact": { + "email": "developers@somnia.network", + "website": "https://somnia.network" + } +} \ No newline at end of file diff --git a/rename-to-lowercase.js b/rename-to-lowercase.js new file mode 100644 index 0000000..bdb835d --- /dev/null +++ b/rename-to-lowercase.js @@ -0,0 +1,100 @@ +const fs = require('fs'); +const path = require('path'); + +function renameToLowercase() { + const directories = ['testnet', 'mainnet']; + let renamedCount = 0; + + console.log('========================================'); + console.log(' Renaming Files to Lowercase'); + console.log('========================================\n'); + + directories.forEach(dir => { + const dirPath = path.join(__dirname, dir); + + if (!fs.existsSync(dirPath)) { + console.log(`Directory ${dir} not found, skipping...\n`); + return; + } + + console.log(`📁 Processing directory: ${dir}`); + console.log('----------------------------------------'); + + // Process JSON files + const jsonFiles = fs.readdirSync(dirPath) + .filter(file => file.endsWith('.json') && file !== 'validator-template.json'); + + jsonFiles.forEach(file => { + const lowerCaseFile = file.toLowerCase(); + if (file !== lowerCaseFile) { + const oldPath = path.join(dirPath, file); + const newPath = path.join(dirPath, lowerCaseFile); + + try { + fs.renameSync(oldPath, newPath); + console.log(` ✅ Renamed: ${file} → ${lowerCaseFile}`); + renamedCount++; + } catch (error) { + console.log(` ❌ Failed to rename ${file}: ${error.message}`); + } + } else { + console.log(` ⏭️ Already lowercase: ${file}`); + } + }); + + // Process subdirectories (images, background) + const subdirs = ['images', 'background']; + subdirs.forEach(subdir => { + const subdirPath = path.join(dirPath, subdir); + if (fs.existsSync(subdirPath)) { + console.log(`\n 📂 Processing ${subdir}/ subdirectory:`); + + const imageFiles = fs.readdirSync(subdirPath); + imageFiles.forEach(file => { + const lowerCaseFile = file.toLowerCase(); + if (file !== lowerCaseFile) { + const oldPath = path.join(subdirPath, file); + const newPath = path.join(subdirPath, lowerCaseFile); + + try { + fs.renameSync(oldPath, newPath); + console.log(` ✅ Renamed: ${file} → ${lowerCaseFile}`); + renamedCount++; + } catch (error) { + console.log(` ❌ Failed to rename ${file}: ${error.message}`); + } + } else { + console.log(` ⏭️ Already lowercase: ${file}`); + } + }); + } + }); + + console.log(''); + }); + + console.log('========================================'); + console.log(`🎉 COMPLETE: Renamed ${renamedCount} files to lowercase`); + console.log('========================================\n'); +} + +// CLI argument handling +if (require.main === module) { + const args = process.argv.slice(2); + + if (args.length > 0 && (args[0] === '--help' || args[0] === '-h')) { + console.log('Usage: node rename-to-lowercase.js [options]'); + console.log('\nOptions:'); + console.log(' --help, -h Show this help message'); + console.log('\nThis script renames all files in testnet/ and mainnet/ directories to lowercase.'); + console.log('It processes:'); + console.log(' - JSON files in testnet/ and mainnet/'); + console.log(' - Image files in images/ and background/ subdirectories'); + console.log(' - Skips validator-template.json'); + process.exit(0); + } + + renameToLowercase(); +} + +module.exports = { renameToLowercase }; \ No newline at end of file