@darksol/terminal 0.3.5 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darksol/terminal",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "DARKSOL Terminal — unified CLI for all DARKSOL services. Market intel, trading, oracle, casino, and more.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/ui/banner.js CHANGED
@@ -26,7 +26,7 @@ export function showBanner(opts = {}) {
26
26
  );
27
27
  console.log(
28
28
  theme.dim(' ║ ') +
29
- theme.subtle(' v0.3.5') +
29
+ theme.subtle(' v0.3.6') +
30
30
  theme.dim(' ') +
31
31
  theme.gold('🌑') +
32
32
  theme.dim(' ║')
@@ -44,7 +44,7 @@ export function showBanner(opts = {}) {
44
44
 
45
45
  export function showMiniBanner() {
46
46
  console.log('');
47
- console.log(theme.gold.bold(' 🌑 DARKSOL TERMINAL') + theme.dim(' v0.3.5'));
47
+ console.log(theme.gold.bold(' 🌑 DARKSOL TERMINAL') + theme.dim(' v0.3.6'));
48
48
  console.log(theme.dim(' ─────────────────────────────'));
49
49
  console.log('');
50
50
  }
@@ -68,3 +68,4 @@ export function showDivider() {
68
68
 
69
69
 
70
70
 
71
+
@@ -63,10 +63,14 @@ export async function createWallet(name, opts = {}) {
63
63
  kvDisplay([
64
64
  ['Name', name],
65
65
  ['Address', wallet.address],
66
- ['Chain', chain],
66
+ ['Type', 'EVM (works on all chains)'],
67
+ ['Active Chain', chain],
67
68
  ['Stored', WALLET_DIR],
68
69
  ]);
69
70
  console.log('');
71
+ info('This wallet works on Base, Ethereum, Arbitrum, Optimism, Polygon — all EVM chains.');
72
+ info('Switch chains anytime: darksol config set chain <name>');
73
+ console.log('');
70
74
  warn('Back up your password — there is NO recovery if lost.');
71
75
  warn('Private key is AES-256-GCM encrypted with scrypt KDF.');
72
76
  console.log('');
@@ -126,9 +130,12 @@ export async function importWallet(name, opts = {}) {
126
130
  kvDisplay([
127
131
  ['Name', name],
128
132
  ['Address', wallet.address],
129
- ['Chain', chain],
133
+ ['Type', 'EVM (works on all chains)'],
134
+ ['Active Chain', chain],
130
135
  ]);
131
136
  console.log('');
137
+ info('This wallet works on Base, Ethereum, Arbitrum, Optimism, Polygon — all EVM chains.');
138
+ console.log('');
132
139
  success('Private key encrypted and stored securely.');
133
140
  }
134
141
 
@@ -147,11 +154,13 @@ export async function showWallets() {
147
154
  const rows = wallets.map(w => [
148
155
  w.name === active ? theme.gold('► ' + w.name) : ' ' + w.name,
149
156
  w.address,
150
- w.chain,
157
+ 'EVM (all chains)',
151
158
  new Date(w.createdAt).toLocaleDateString(),
152
159
  ]);
153
160
 
154
- table(['Name', 'Address', 'Chain', 'Created'], rows);
161
+ table(['Name', 'Address', 'Type', 'Created'], rows);
162
+ console.log('');
163
+ info(`Active chain: ${getConfig('chain') || 'base'} — switch with: darksol config set chain <name>`);
155
164
  }
156
165
 
157
166
  // Get a signer (unlocked wallet) for transactions
@@ -217,7 +226,8 @@ export async function getBalance(walletName) {
217
226
  showSection(`BALANCE — ${name}`);
218
227
  kvDisplay([
219
228
  ['Address', walletData.address],
220
- ['Chain', walletData.chain],
229
+ ['Type', 'EVM (all chains)'],
230
+ ['Viewing', `${walletData.chain} — switch with: darksol config set chain <name>`],
221
231
  ['Native', `${parseFloat(ethBalance).toFixed(6)} ETH`],
222
232
  ['USDC', `$${parseFloat(usdcBalance).toFixed(2)}`],
223
233
  ]);