-
Notifications
You must be signed in to change notification settings - Fork 0
/
revealwscript.html
30 lines (29 loc) · 1022 Bytes
/
revealwscript.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Console Script Executor</title>
</head>
<body>
<h1>Reveal your Mantis from the shadows</h1>
<p>Follow these steps:</p>
<ol>
<li>log into your nns, at nns.ic0.app</li>
<li>Right-click on the page and select "Inspect" or "Inspect Element".</li>
<li>Go to the "Console" tab in the developer tools.</li>
<li>Copy the JavaScript code below and paste it into the console.</li>
<li>Press Enter to execute the script.</li>
</ol>
<textarea id="js-code" rows="10" cols="50" readonly>
function executeScript() {
const ledgerCanisterId = '5xwlp-hiaaa-aaaag-qjqqa-cai';
__experimentalAddIcrc1Token(ledgerCanisterId);
console.log('Script executed with ledgerCanisterId:', ledgerCanisterId);
}
executeScript()
// Copy and paste the below line into the console
// executeScript();
</textarea>
<p>Copy and paste the script inside the textarea above into the console.</p>
</body>
</html>