diff --git a/contracts/config/networks.json b/contracts/config/networks.json index 9a46bc367d..5304128742 100644 --- a/contracts/config/networks.json +++ b/contracts/config/networks.json @@ -12,7 +12,7 @@ ] }, "localObscuro": { - "chainId": 777, + "chainId": 443, "url": "http://127.0.0.1:3000/v1/", "obscuroEncRpcUrl": "ws://127.0.0.1:37901", "companionNetworks" : { diff --git a/docs/_docs/testnet/deploying-a-smart-contract-programmatically.md b/docs/_docs/testnet/deploying-a-smart-contract-programmatically.md index 0a0e2e18d4..0dfc1b0ca0 100644 --- a/docs/_docs/testnet/deploying-a-smart-contract-programmatically.md +++ b/docs/_docs/testnet/deploying-a-smart-contract-programmatically.md @@ -62,7 +62,7 @@ release). An arbitrary `gasPrice` should be given e.g. the current price on the 'nonce': w3.eth.getTransactionCount(account.address), 'gasPrice': 1499934385, 'gas': 720000, - 'chainId': 777 + 'chainId': 443 } ) ``` diff --git a/docs/_docs/testnet/deploying-a-smart-contract-programmatically.py b/docs/_docs/testnet/deploying-a-smart-contract-programmatically.py index 8f90ab6cb3..e2e9004250 100644 --- a/docs/_docs/testnet/deploying-a-smart-contract-programmatically.py +++ b/docs/_docs/testnet/deploying-a-smart-contract-programmatically.py @@ -93,7 +93,7 @@ def run(): 'nonce': w3.eth.getTransactionCount(account.address), 'gasPrice': 1499934385, 'gas': 720000, - 'chainId': 777 + 'chainId': 443 } ) diff --git a/docs/_docs/testnet/deploying-a-smart-contract.md b/docs/_docs/testnet/deploying-a-smart-contract.md index f5a4d3364d..b8e60171f7 100644 --- a/docs/_docs/testnet/deploying-a-smart-contract.md +++ b/docs/_docs/testnet/deploying-a-smart-contract.md @@ -34,7 +34,7 @@ You can now go ahead and deploy your smart contract to the Obscuro Testnet. 1. Log in to MetaMask and confirm you are connected to Obscuro Testnet network. The parameters for the Obscuro Testnet can be found [here](https://docs.obscu.ro/testnet/essentials/). -1. In the _Deploy & Run Transactions_ section of Remix change the Environment to _Injected Web3_. This tells Remix to use the network settings currently configured in your MetaMask wallet, which in this case is the Obscuro Testnet. If the connection to Obscuro Testnet is successful you will see the text _Custom (777) network_ displayed under _Injected Web3_. +1. In the _Deploy & Run Transactions_ section of Remix change the Environment to _Injected Web3_. This tells Remix to use the network settings currently configured in your MetaMask wallet, which in this case is the Obscuro Testnet. If the connection to Obscuro Testnet is successful you will see the text _Custom (443) network_ displayed under _Injected Web3_. 1. Click the _Deploy_ button to deploy your smart contract to the Obscuro Testnet. diff --git a/docs/_docs/testnet/example-dapps.md b/docs/_docs/testnet/example-dapps.md index 1f1f6b2bbb..5fcadaaf34 100644 --- a/docs/_docs/testnet/example-dapps.md +++ b/docs/_docs/testnet/example-dapps.md @@ -14,7 +14,7 @@ Building the guessing game in Obscuro addresses both scenarios described above. 1. Start up the wallet extension. Follow instructions [here](https://docs.obscu.ro/wallet-extension/wallet-extension). 1. For the moment, the Guessing Game includes an ERC20 token (called OGG, short for Obscuro Guessing Game). This is partly because OGG is modified to have a built-in faucet: It allocates tokens to addresses as they make a request to allow other addresses to take tokens from their account. 1. If you want to see this balance in your wallet, you have to import a new Token with the address: ``0x5FbDB2315678afecb367f032d93F642f64180aa3`` -1. Browse to [the number guessing game](http://obscuronet.github.io/sample-applications/number-guessing-game). Check you see `Network ID: 777` at the top of the game window to confirm you are connected to Obscuro Testnet. +1. Browse to [the number guessing game](http://obscuronet.github.io/sample-applications/number-guessing-game). Check you see `Network ID: 443` at the top of the game window to confirm you are connected to Obscuro Testnet. 1. MetaMask will open and ask to connect your account. Click `Next` then click `Connect`. 1. Approve the payment of 1 or more token units to play the game (this will be added to the prize pool) by clicking the `Approve game fee` button. 1. MetaMask will ask for your account to sign a transaction specifying the Guess contract address as the approval delegate. This means that you're giving permission for the game to take the participation fee. Click `Confirm`. Once approved you will see a confirmation popup. Click `OK`. diff --git a/docs/_docs/wallet-extension/configure-metamask.md b/docs/_docs/wallet-extension/configure-metamask.md index aefb689264..709612741a 100644 --- a/docs/_docs/wallet-extension/configure-metamask.md +++ b/docs/_docs/wallet-extension/configure-metamask.md @@ -6,8 +6,8 @@ To keep data encrypted between MetaMask and the Obscuro network, MetaMask needs * Network Name: Obscuro Testnet * New RPC URL: `http://127.0.0.1:3000/` -* Chain ID: 777 -* Currency Symbol: OBX +* Chain ID: 443 +* Currency Symbol: ETH It should look like this: diff --git a/go/enclave/container/cli_flags.go b/go/enclave/container/cli_flags.go index 07cf034e80..7bf4eb6bbf 100644 --- a/go/enclave/container/cli_flags.go +++ b/go/enclave/container/cli_flags.go @@ -37,7 +37,7 @@ func getFlagUsageMap() map[string]string { addressName: "The address on which to serve the Obscuro enclave service", nodeTypeName: "The node's type (e.g. sequencer, validator)", l1ChainIDName: "An integer representing the unique chain id of the Ethereum chain used as an L1 (default 1337)", - obscuroChainIDName: "An integer representing the unique chain id of the Obscuro chain (default 777)", + obscuroChainIDName: "An integer representing the unique chain id of the Obscuro chain (default 443)", willAttestName: "Whether the enclave will produce a verified attestation report", validateL1BlocksName: "Whether to validate incoming blocks using the hardcoded L1 genesis.json config", ManagementContractAddressName: "The management contract address on the L1", diff --git a/go/enclave/container/test.toml b/go/enclave/container/test.toml index 5eea42b9c8..196bf80f0d 100644 --- a/go/enclave/container/test.toml +++ b/go/enclave/container/test.toml @@ -3,7 +3,7 @@ hostAddress = "127.0.0.1:10000" address = "127.0.0.1:11000" nodeType = "sequencer" l1ChainID = 1377 -obscuroChainID = 777 +obscuroChainID = 443 willAttest = false validateL1Blocks = false managementContractAddress = "0x0000000000000000000000000000000000000000" diff --git a/go/host/container/cli_flags.go b/go/host/container/cli_flags.go index 445d28124b..00464d1133 100644 --- a/go/host/container/cli_flags.go +++ b/go/host/container/cli_flags.go @@ -60,7 +60,7 @@ func getFlagUsageMap() map[string]string { logPathName: "The path to use for the host's log file", privateKeyName: "The private key for the L1 host account", l1ChainIDName: "An integer representing the unique chain id of the Ethereum chain used as an L1 (default 1337)", - obscuroChainIDName: "An integer representing the unique chain id of the Obscuro chain (default 777)", + obscuroChainIDName: "An integer representing the unique chain id of the Obscuro chain (default 443)", profilerEnabledName: "Runs a profiler instance (Defaults to false)", l1StartHashName: "The L1 block hash where the management contract was deployed", sequencerIDName: "The ID of the sequencer", diff --git a/go/host/container/test.toml b/go/host/container/test.toml index 7a56417666..3d63e17a5c 100644 --- a/go/host/container/test.toml +++ b/go/host/container/test.toml @@ -17,7 +17,7 @@ LogLevel = 3 LogPath = "" PrivateKeyString = "0000000000000000000000000000000000000000000000000000000000000001" L1ChainID = 1337 -ObscuroChainID = 777 +ObscuroChainID = 443 ProfilerEnabled = false DebugNamespaceEnabled = false BatchInterval = "1.0s"