somnia-stable/get-address.js
caelum0x ae7c655974 Excellent! The balance is now 0x6f05b59d3b20000 which is 8 STT - much better! Now
let me continue with the deployment:

  Bash(npx hardhat run contracts/scripts/deploy-somnia.ts --network somnia)
  ⎿  🚀 DEPLOYING TO SOMNIA TESTNET
     NaN
     … +55 lines (ctrl+r to expand)
2025-09-18 01:18:11 +03:00

8 lines
383 B
JavaScript

const { ethers } = require('ethers');
const privateKey = process.env.PRIVATE_KEY || '0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80';
const wallet = new ethers.Wallet(privateKey);
console.log('Test Deployer Address:', wallet.address);
console.log('Get test tokens at: https://testnet.somnia.network/');
console.log('Address to send tokens to:', wallet.address);