Skip to main content

Quickstart

From nothing to a connected Core wallet in a few minutes. This is the shortest path; each step links to the full treatment.

1. Install Core and get test funds

  1. Install Core Extension and create a wallet.
  2. Open Settings → toggle Testnet mode.
  3. Fund your account at the testnet faucet — Fuji AVAX is fine for everything below.

2. Connect from a page

Serve this locally and click the button:

<button id="connect">Connect Core</button>
<pre id="out"></pre>
<script type="module">
let core = null;
window.addEventListener('eip6963:announceProvider', ({ detail }) => {
if (detail.info.rdns === 'app.core.extension') core = detail.provider;
});
window.dispatchEvent(new Event('eip6963:requestProvider'));

document.querySelector('#connect').onclick = async () => {
const [account] = await core.request({ method: 'eth_requestAccounts' });
const balance = await core.request({
method: 'eth_getBalance',
params: [account, 'latest'],
});
document.querySelector('#out').textContent =
`${account}\n${parseInt(balance, 16) / 1e18} AVAX`;
};
</script>

Core's connection screen appears on the click; approve it and the account and balance render.

3. Send a transaction

const txHash = await core.request({
method: 'eth_sendTransaction',
params: [{
from: account,
to: account, // send to yourself on Fuji
value: '0x2386f26fc10000', // 0.01 AVAX
}],
});

Core opens its approval screen with a simulated balance change; approving broadcasts and resolves the hash.

Where to go next