Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 2.01 KB

testnet-faucet.md

File metadata and controls

61 lines (41 loc) · 2.01 KB

Get fake tokens on Oasis Sapphire testnet

This README describes how to:

If you need, create a new EVM account first.

Get fake ROSE on Sapphire testnet

  1. Go to ROSE faucet for Oasis testnets.
  2. From the dropdown, pick Sapphire testnet.
  3. Fill in your address and request test tokens.
  4. (Optional) Confirm receipt via Sapphire testnet explorer

Get fake OCEAN on Sapphire testnet

  1. Go to the OCEAN faucet for Sapphire testnet.
  2. Fill in your address and click Get 1000 OCEAN.
  3. (Optional) In your wallet, add the OCEAN token. If needed, specify the OCEAN address as: 0x973e69303259B0c2543a38665122b773D28405fB
  4. (Optional) Confirm receipt via Sapphire testnet explorer

Create new EVM account

Oasis Sapphire testnet is an EVM-based chain. An EVM account is singularly defined by its private key. Its address is a function of that key. Let's generate an account!

First, run Python. In a console:

python

In the Python console:

from eth_account.account import Account
account = Account.create()

print(f"PRIVATE_KEY={account.key.hex()}, ADDRESS={account.address}")

Now, you have an EVM account: address & private key. Save the values somewhere safe, like a local file or a password manager.

These accounts will work on Sapphire testnet, Sapphire mainnet, Eth mainnet, or any other EVM-based chain.

Get address from private key

In the Python console:

from eth_account.account import Account
private_key = <your private key>
account = Account.from_key(private_key)

print(f"PRIVATE_KEY={account.key.hex()}, ADDRESS={account.address}")