Skip to content

Commit 462327c

Browse files
authored
Merge branch 'main' into fix/tenderly-alerts-url
2 parents b1888d1 + 58ad539 commit 462327c

3 files changed

Lines changed: 13 additions & 7 deletions

File tree

src/pages/build/ink-kit.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ By default, Ink Kit provides a couple of themes already in the stylesheet:
8080
To specify which theme to use, add the `ink:THEME_ID` to your document root:
8181

8282
```tsx
83-
<html class="ink:dark-theme">
83+
<html className="ink:dark-theme">
8484
...
8585
```
8686

src/pages/build/tutorials/deploying-a-smart-contract/foundry.mdx

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ forge test
120120
```env
121121
PRIVATE_KEY=your_private_key_here
122122
RPC_URL=https://rpc-gel-sepolia.inkonchain.com/
123-
BLOCKSCOUT_API_KEY=your_blockscout_api_key_here
124123
```
125124

126125
2. Create a deployment script in <CopyableCode code="script/Deploy.s.sol" />:
@@ -148,20 +147,29 @@ contract DeployScript is Script {
148147

149148
```bash
150149
# Load environment variables
150+
set -a
151151
source .env
152+
set +a
152153

153154
# Deploy to InkSepolia Testnet
154-
forge script script/Deploy.s.sol:DeployScript --rpc-url $RPC_URL --broadcast --verify
155+
forge script script/Deploy.s.sol:DeployScript \
156+
--rpc-url $RPC_URL \
157+
--broadcast \
158+
--verify \
159+
--verifier blockscout \
160+
--verifier-url https://explorer-sepolia.inkonchain.com/api/
155161
```
156162

157163
## Verifying Your Contract
158164

159-
If you want to verify your contract on Etherscan:
165+
If you want to verify your contract on Blockscout:
160166

161167
```bash
162168
forge verify-contract <DEPLOYED_CONTRACT_ADDRESS> src/InkContract.sol:InkContract \
169+
--rpc-url $RPC_URL \
163170
--chain-id 763373 \
164-
--etherscan-api-key $BLOCKSCOUT_API_KEY
171+
--verifier blockscout \
172+
--verifier-url https://explorer-sepolia.inkonchain.com/api/
165173
```
166174

167175
## Additional Configuration

src/utils/networks.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ export function useNetwork(network: NetworkType): UseNetworkResponse {
5656
const [isAdded, setIsAdded] = useState<boolean>(false);
5757
const [isSelected, setIsSelected] = useState<boolean>(false);
5858

59-
console.log(`${network} is added: ${isAdded}`);
60-
6159
// Check if network is added and selected on mount and when network changes
6260
useEffect(() => {
6361
const checkNetwork = async () => {

0 commit comments

Comments
 (0)