Expert Q&A
Expert advice available.
Posts
950- Setting up SimpleStorage DeployerExpert Q&AForCyfrin UpdraftDec 14, 2024
Why do i keep getting this error when trying to deploy my code in VS code, asked AI and it's still the same. Here is the error: [⠊] Compiling... [⠢] Compiling 14 files with Solc 0.8.18 [⠆] Solc 0.8.18 finished in 149.20ms Error: Compiler run failed: Error (2314): Expected ';' but got identifier --> script/DeploySimpleStorage.s.sol:11:9: | 11 | vm.stopBroadcast(); | ^^ And here is my code. solidity ''' // SPDX-License-Identifier: MIT pragma solidity ^0.8.18; import {Script} from "forge-std/Script.sol"; import {SimpleStorage} from "../src/SimpleStorage.sol"; contract DeploySimpleStorage is Script { function run() external returns (SimpleStorage) { vm.startBroadcast(); SimpleStorage simpleStorage = new SimpleStorage(); vm.stopBroadcast(); return simpleStorage; } } '''
- Cyfrin Updraft
- Foundry
- Solidity
00 - Setting FoundryExpert Q&AForCyfrin UpdraftDec 12, 2024
While trying to set my foundry after installing using the "forge init" command, i got this error: Error: failed to commit (code=Some(128), stdout="", stderr="Author identity unknown\n\n* Please tell me who you are.\n\nRun\n\n git config --global user.email \"you@example.com\"\n git config --global user.name \"Your Name\"\n\nto set your account's default identity.\nOmit --global to set the identity only in this repository.\n\nfatal: unable to auto-detect email address (got 'user@MACs-MBP.(none)')") Though I was able to get all the folder I needed, except from "lib" and ".gitmodules" hope this won't affect me in future. And i also try using the "forge init --force" still the same
- Cyfrin Updraft
- Foundry
- Solidity
02 - Getting started with peeraExpert Q&AForPeera MetaDec 04, 2024
Hello, i'm new here. Just want to know how to improve my reputaion. Because i am trying to comment and like some post but i can't because my reputation are low. This is my first post here. And also, i am a beginner learning solidity on cyfrin updraft so i guess i will be using this platform alot, Thank you community.
- expert q&a
- tutorial
- reputation
- reward
22 - Clarification on Polygon PoS Mainnet Gas Fees
Should I pass a 30 gwei priority fee even if the mainnet gas station shows a lower value?
- Polygon PoS
- General
03 - Displaying Transactions for Contracts B, C, and D in Contract AExpert Q&AForPolygonDec 02, 2024
How can transactions for contracts B, C, and D be displayed under their respective internal transactions in contract A?
- Polygon PoS
- Smart Contract
17 - Understanding Plasma and PoS Bridges in Ethereum-Polygon
What is a plasma bridge, and how does it differ from the PoS and burn/mint models for bridging Ethereum to Polygon?
- Polygon PoS
- General
04 - Sending USDCoins from Ethereum Wallet to PayPal with Moonpay
How can I send USDCoins from my Ethereum wallet to PayPal without MATIC for fees?
- General
14 - Recovering USDT Sent to Smart Contract on PolygonExpert Q&AForPolygonNov 30, 2024
How can USDT mistakenly sent to a smart contract address on Polygon be recovered?
- Polygon PoS
- Smart Contract
12 - Troubleshooting Issues Deploying a Smart Contract on Polygon
Why am I experiencing JSON-RPC errors when deploying my contract on Polygon, while it works on other networks?
- Polygon PoS
- Smart Contract
02
- 2565
- 1780
- 402
- 397
- 369
- 328
- 225
- 211
- 188
- 158
- The Graph
- Aave Protocol
- discussion
- Solidity
- Subgraph
- blockchain
- Smart Contract
- GraphQL
- Query
- Indexers