Skip to content

Commit 43f2b6f

Browse files
committed
Make base demos use the PrivateKey signers
1 parent 23c9787 commit 43f2b6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/hosted-counter/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ <h2>Chain history for <code id="chain-id" class="hex">requesting chain…</code>
6969
async function run() {
7070
await linera.default();
7171
const faucet = await new linera.Faucet(import.meta.env.VITE_FAUCET_URL);
72-
const signer = await new signer.MetaMaskEIP191Signer();
72+
const signer = await new signer.PrivateKey("f77a21701522a03b01c111ad2d2cdaf2b8403b47507ee0aec3c2e52b765d7a66");
7373
const wallet = await faucet.createWallet();
7474
const owner = await signer.address();
7575
document.getElementById('owner').innerText = owner;

0 commit comments

Comments
 (0)