diff --git a/docs/dapp/opl/build.md b/docs/dapp/opl/build.md index 8511fad535..5fd1157561 100644 --- a/docs/dapp/opl/build.md +++ b/docs/dapp/opl/build.md @@ -84,12 +84,12 @@ index cd8df42..0875e8e 100644 + local: { + url: 'http://127.0.0.1:8545', + }, -+ bsc_testnet: { ++ 'bsc-testnet': { + url: 'https://data-seed-prebsc-1-s1.binance.org:8545', + chainId: 97, + accounts, + }, -+ sapphire_testnet: { ++ 'sapphire-testnet': { + url: 'https://testnet.sapphire.oasis.dev', + chainId: 0x5aff, + accounts, @@ -142,7 +142,7 @@ export PRIVATE_KEY= Deploy the enclave smart contract using Testnet parameters. ```shell -npx hardhat deploy-ballot-box --network sapphire_testnet --host-network bsc_testnet +npx hardhat deploy-ballot-box --network sapphire-testnet --host-network bsc-testnet Nothing to compile No need to generate any newer typings. expected DAO 0xFBcb580DD6D64fbF7caF57FB0439502412324179 @@ -153,7 +153,7 @@ Next, use the obtained `BallotBox` address below to deploy the host smart contract: ```shell -npx hardhat deploy-dao --network bsc_testnet --ballot-box-addr {BALLOT_BOX_ADDR} +npx hardhat deploy-dao --network bsc-testnet --ballot-box-addr {BALLOT_BOX_ADDR} Nothing to compile No need to generate any newer typings. DAO 0xFBcb580DD6D64fbF7caF57FB0439502412324179 diff --git a/docs/dapp/sapphire/browser.md b/docs/dapp/sapphire/browser.md index 747c504797..20ab2f9a1a 100644 --- a/docs/dapp/sapphire/browser.md +++ b/docs/dapp/sapphire/browser.md @@ -32,7 +32,7 @@ Now, you can deploy the contract on the Testnet with the private key of the account holding some [TEST tokens]: ```shell -PRIVATE_KEY="0x..." npx hardhat run scripts/deploy.js --network sapphire_testnet +PRIVATE_KEY="0x..." npx hardhat run scripts/deploy.js --network sapphire-testnet ``` This will compile the contract and deploy it on the Testnet. In addition diff --git a/docs/dapp/sapphire/quickstart.mdx b/docs/dapp/sapphire/quickstart.mdx index 31948f3cee..76dd35f4a2 100644 --- a/docs/dapp/sapphire/quickstart.mdx +++ b/docs/dapp/sapphire/quickstart.mdx @@ -76,7 +76,7 @@ index 414e974..49c95f9 100644 const config: HardhatUserConfig = { solidity: "0.8.17", + networks: { -+ sapphire_testnet: { ++ 'sapphire-testnet': { + // This is Testnet! If you want Mainnet, add a new network config item. + url: "https://testnet.sapphire.oasis.dev", + accounts: process.env.PRIVATE_KEY @@ -155,7 +155,7 @@ Pretty cool if you ask me! Anyway, make it happen by running ```shell -PRIVATE_KEY="0x..." npx hardhat run scripts/run-vigil.ts --network sapphire_testnet +PRIVATE_KEY="0x..." npx hardhat run scripts/run-vigil.ts --network sapphire-testnet ``` And if you see something like the following, you'll know you're well on the road