diff --git a/docs/dapp/tools/localnet.mdx b/docs/dapp/tools/localnet.mdx index 77c52d11e1..8562bf7e3a 100644 --- a/docs/dapp/tools/localnet.mdx +++ b/docs/dapp/tools/localnet.mdx @@ -35,14 +35,14 @@ To run the image, execute: ```sh -docker run -it -p8544-8546:8544-8546 ghcr.io/oasisprotocol/sapphire-localnet +docker run -it -p8544-8548:8544-8548 ghcr.io/oasisprotocol/sapphire-localnet ``` ```sh -docker run -it -p8544-8546:8544-8546 ghcr.io/oasisprotocol/emerald-localnet +docker run -it -p8544-8548:8544-8548 ghcr.io/oasisprotocol/emerald-localnet ``` @@ -51,16 +51,19 @@ docker run -it -p8544-8546:8544-8546 ghcr.io/oasisprotocol/emerald-localnet After a while, running the `sapphire-localnet` will show you something like: ```console -sapphire-localnet 2024-10-03-gitbad082f (oasis-core: 24.2, sapphire-paratime: 0.8.2, oasis-web3-gateway: 5.1.0) +sapphire-localnet 2024-11-22-git502678f (oasis-core: 24.3, sapphire-paratime: 0.9.0-testnet, oasis-web3-gateway: 5.1.0) * No ROFLs detected. * Starting oasis-net-runner with sapphire... * Waiting for Postgres to start. - * Waiting for Oasis node to start........ + * Waiting for Oasis node to start....... * Waiting for Envoy proxy to start. * Starting oasis-web3-gateway... - * Bootstrapping network (this might take a minute)... + * Bootstrapping network (this might take a minute).... * Waiting for key manager...... + * Creating database 'nexus' + * Waiting for Nexus to start. + * Waiting for Explorer to start..... * Populating accounts... Available Accounts @@ -81,14 +84,16 @@ Private Keys HD Wallet ================== -Mnemonic: test test test test test test test test test test test junk -Base HD Path: m/44'/60'/0'/0/%d +Mnemonic: test test test test test test test test test test test junk +Base HD Path: m/44'/60'/0'/0/%d WARNING: The chain is running in ephemeral mode. State will be lost after restart! * GRPC listening on http://localhost:8544. * Web3 RPC listening on http://localhost:8545 and ws://localhost:8546. Chain ID: 0x5afd. - * Container start-up took 313 seconds, node log level is set to warn. + * Nexus API listening on http://localhost:8547. + * Localnet Explorer available at http://localhost:8548. + * Container start-up took 73 seconds, node log level is set to warn. ``` Those familiar with local dApp environments will find the output above similar @@ -100,10 +105,14 @@ available for you to use: - `http://localhost:8545` - `ws://localhost:8546` -Additionally, the [Oasis GRPC][oasis-rpc] endpoint is exposed on: +The [Oasis GRPC][oasis-rpc] endpoint is exposed on: - `http://localhost:8544` +The local explorer you can visit at: + +- [http://localhost:8548](http://localhost:8548) + [oasis-rpc]: https://github.com/oasisprotocol/oasis-core/blob/master/docs/oasis-node/rpc.md By default, the Localnet docker image will populate the first five accounts @@ -125,8 +134,8 @@ docker run -it -p8544-8546:8544-8546 ghcr.io/oasisprotocol/sapphire-localnet -to ```sh -docker run -it -p8544-8546:8544-8546 ghcr.io/oasisprotocol/emerald-localnet -to "bench remain brave curve frozen verify dream margin alarm world repair innocent" -n3 -docker run -it -p8544-8546:8544-8546 ghcr.io/oasisprotocol/emerald-localnet -to "0x75eCF0d4496C2f10e4e9aF3D4d174576Ee9010E2,0xbDA5747bFD65F08deb54cb465eB87D40e51B197E" +docker run -it -p8544-8548:8544-8548 ghcr.io/oasisprotocol/emerald-localnet -to "bench remain brave curve frozen verify dream margin alarm world repair innocent" -n3 +docker run -it -p8544-8548:8544-8548 ghcr.io/oasisprotocol/emerald-localnet -to "0x75eCF0d4496C2f10e4e9aF3D4d174576Ee9010E2,0xbDA5747bFD65F08deb54cb465eB87D40e51B197E" ``` @@ -141,14 +150,14 @@ force the docker image to use the `linux/x86_64` platform, like this: ```sh -docker run -it -p8544-8546:8544-8546 --platform linux/x86_64 ghcr.io/oasisprotocol/sapphire-localnet +docker run -it -p8544-8548:8544-8548 --platform linux/x86_64 ghcr.io/oasisprotocol/sapphire-localnet ``` ```sh -docker run -it -p8544-8546:8544-8546 --platform linux/x86_64 ghcr.io/oasisprotocol/emerald-localnet +docker run -it -p8544-8548:8544-8548 --platform linux/x86_64 ghcr.io/oasisprotocol/emerald-localnet ```