This README describes how to:
If you need, create a new EVM account first.
- Go to ROSE faucet for Oasis testnets.
- From the dropdown, pick
Sapphire
testnet. - Fill in your address and request test tokens.
- (Optional) Confirm receipt via Sapphire testnet explorer
- Go to the OCEAN faucet for Sapphire testnet.
- Fill in your address and click
Get 1000 OCEAN
. - (Optional) In your wallet, add the OCEAN token. If needed, specify the OCEAN address as: 0x973e69303259B0c2543a38665122b773D28405fB
- (Optional) Confirm receipt via Sapphire testnet explorer
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.
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}")