From eccd99e00a3f562456c6929c9c5e64252ccaf6b1 Mon Sep 17 00:00:00 2001 From: Matt <98158711+BedrockSquirrel@users.noreply.github.com> Date: Tue, 3 Oct 2023 11:31:46 +0100 Subject: [PATCH] update some OBX references in docs (#1573) --- README.md | 2 +- ...eploying-a-smart-contract-programmatically.md | 4 ++-- ...eploying-a-smart-contract-programmatically.py | 2 +- docs/_docs/testnet/faucet.md | 16 ++++++++-------- docs/_docs/wallet-extension/wallet-extension.md | 2 +- go/common/denomination.go | 2 +- tools/faucet/README.md | 6 +++--- 7 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index c1d5c5af9f..0c10ed335b 100644 --- a/README.md +++ b/README.md @@ -348,7 +348,7 @@ Once started Obscuroscan is available on `http://0.0.0.0:8098`. ### Building and running a local faucet -Deploying and interacting with contracts on Obscuro requires OBX to be allocated to an account via the faucet. +Deploying and interacting with contracts on Obscuro requires ETH to be allocated to an account on the L2 via the faucet (or bridged across from the L1). The faucet image should be pulled (or optionally built from scratch), and the container built and started to allow requests to be made to it. To pull the testnet faucet and run use; diff --git a/docs/_docs/testnet/deploying-a-smart-contract-programmatically.md b/docs/_docs/testnet/deploying-a-smart-contract-programmatically.md index 0dfc1b0ca0..ed426d58b5 100644 --- a/docs/_docs/testnet/deploying-a-smart-contract-programmatically.md +++ b/docs/_docs/testnet/deploying-a-smart-contract-programmatically.md @@ -24,8 +24,8 @@ account stored for later usage. logging.info('Using account with address %s' % account.address) ``` -## Request OBX from the faucet server for native OBX -An account needs gas to perform transactions on Obscuro, where gas is paid in native OBX. Requests of native OBX can be +## Request ETH from the faucet server for native ETH +An account needs gas to perform transactions on Obscuro, where gas is paid in native ETH. Requests of native ETH can be made through a POST to the faucet server where the address is supplied in the data payload. ```python headers = {'Content-Type': 'application/json'} diff --git a/docs/_docs/testnet/deploying-a-smart-contract-programmatically.py b/docs/_docs/testnet/deploying-a-smart-contract-programmatically.py index 5b56bfb62b..7680ae8f0c 100644 --- a/docs/_docs/testnet/deploying-a-smart-contract-programmatically.py +++ b/docs/_docs/testnet/deploying-a-smart-contract-programmatically.py @@ -66,7 +66,7 @@ def run(): account = w3.eth.account.privateKeyToAccount(private_key) logging.info('Using account with address %s' % account.address) - # request native OBX from the faucet server + # request native ETH from the faucet server headers = {'Content-Type': 'application/json'} data = {"address": account.address} requests.post(FAUCET_URL, data=json.dumps(data), headers=headers) diff --git a/docs/_docs/testnet/faucet.md b/docs/_docs/testnet/faucet.md index 2eb484a43b..0ca27e478d 100644 --- a/docs/_docs/testnet/faucet.md +++ b/docs/_docs/testnet/faucet.md @@ -1,21 +1,21 @@ --- --- # Using the Testnet Token Faucet -Using the steps below you will request testnet OBX from the faucet available on the Obscuro Discord server. +Using the steps below you will request testnet ETH from the faucet available on the Obscuro Discord server. ## Prerequisites * Access to the [Obscuro Discord server](https://discord.gg/yQfmKeNzNd). * (Optional) [MetaMask](https://metamask.io/) wallet installed in your browser. * (Optional) A local copy of the [Obscuro MetaMask wallet extension](https://docs.obscu.ro/wallet-extension/wallet-extension/). -## Requesting Testnet OBX +## Requesting Testnet ETH 1. Make a note of your wallet address or copy it to your clipboard. 2. Open the [_faucet-requests_ channel](https://discord.gg/5qyj3qraaH) on Obscuro Discord. -3. Request OBX using the `/faucet` command. The faucet will credit 100,000 OBX by default: +3. Request ETH using the `/faucet` command. The faucet will credit 0.5 ETH by default: ![faucet command](../../assets/images/faucet-cmd.png) 4. Provide your wallet address and hit Enter. The faucet will acknowledge your request: ![faucet ack](../../assets/images/faucet-ack.png) -5. After a short period of time the faucet will confirm the Testnet OBX have been credited to your wallet: +5. After a short period of time the faucet will confirm the Testnet ETH have been credited to your wallet: ![faucet complete](../../assets/images/faucet-done.png) ## Viewing Your Wallet Balance @@ -23,13 +23,13 @@ To view the balance of your wallet you will need to establish a connection from Use the steps [here](https://docs.obscu.ro/testnet/deploying-a-smart-contract/#prepare-your-metamask-wallet-for-obscuro-testnet) to prepare your MetaMask wallet for Obscuro Testnet. -## Requesting Testnet OBX directly -In the event that you do not have access to Discord, or the faucet bot is not working, you can request OBX directly from +## Requesting Testnet ETH directly +In the event that you do not have access to Discord, or the faucet bot is not working, you can request ETH directly from the faucet server using the below; 1. Make a note of your wallet address or copy it to your clipboard. -2. Open a command shell and issue the below command, where `
` should be replaced with the value stored in your clipboard (e.g. `0x75Ad715443e1E2EBdaFA33ABB3B08443966019A6`). The faucet server will credit 100,000 OBX by default. +2. Open a command shell and issue the below command, where `` should be replaced with the value stored in your clipboard (e.g. `0x75Ad715443e1E2EBdaFA33ABB3B08443966019A6`). The faucet server will credit 0.5 ETH by default. ```bash curl --location --request POST 'http://testnet-faucet.uksouth.azurecontainer.io/fund/eth' --header 'Content-Type: application/json' --data-raw '{ "address":"