Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 92515

Solidity is a contract-oriented, high-level language whose syntax is similar to that of JavaScript and it is designed for writing smart contracts in Ethereum to run on the EVM. Solidity is statically typed, supports inheritance, libraries and complex user-defined types among other features.

0 votes
1 answer
2k views

I get error saying "invalid contract address or ENS name" when I try to run Interact.js scri...

After successfully deploying it to alchemy, when I wrote the 'Interact.js' script from the tutorial and tried to run it, it got me the following error my solidity compiler version: 0.8.0 PS E:\programming … _load (node:internal/modules/cjs/loader:828:14) This is my Smart contract code: //SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract HelloWorld { event UpdatedMessages( string oldStr, …
Gourav Kumar's user avatar
4 votes
3 answers
6k views

Can't read value from '.env' file in my hardhat project

PRIVATE_KEY = process.env.PRIVATE_KEY module.exports = { defaultNetwork: 'hardhat', networks: { rinkeby: { url: RINKEBY_RPC_URL, accounts: [PRIVATE_KEY], chainId: 4, } }, solidity
Gourav Kumar's user avatar