Peera.

Expert Q&A

Expert advice available.

Posts

950
  • Expert Q&A
    Setting up SimpleStorage Deployer

    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
    0
    0
  • Expert Q&A
    Setting Foundry

    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
    0
    2
  • thegreatfeez.Peera.
    ForPeera MetaDec 04, 2024
    Expert Q&A
    Getting started with peera

    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
    2
    2
  • AFL.Peera.
    AFL11
    ForPolygonDec 03, 2024
    Expert Q&A
    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
    0
    3
  • The Web3 Diva.Peera.
    ForPolygonDec 02, 2024
    Expert Q&A
    Displaying Transactions for Contracts B, C, and D in Contract A

    How can transactions for contracts B, C, and D be displayed under their respective internal transactions in contract A?

    • Polygon PoS
    • Smart Contract
    1
    7
  • Cattos.Peera.
    ForPolygonDec 01, 2024
    Expert Q&A
    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
    0
    4
  • KillaVibe.Peera.
    ForPolygonDec 01, 2024
    Expert Q&A
    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
    1
    4
  • loth.broke.Peera.
    ForPolygonNov 30, 2024
    Expert Q&A
    Recovering USDT Sent to Smart Contract on Polygon

    How can USDT mistakenly sent to a smart contract address on Polygon be recovered?

    • Polygon PoS
    • Smart Contract
    1
    2
  • AFL.Peera.
    AFL11
    ForPolygonNov 27, 2024
    Expert Q&A
    POL Faucet Limits

    Why do I encounter the 'Maximum Allowed' message on the faucet?

    • General
    • MATIC
    0
    1
  • Lently.Peera.
    ForPolygonNov 23, 2024
    Expert Q&A
    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
    0
    2
Peera.

New Identity.

Experience Like

Never Before.

Top tags
  • The Graph
  • Aave Protocol
  • discussion
  • Solidity
  • Subgraph
  • blockchain
  • Smart Contract
  • GraphQL
  • Query
  • Indexers
We use cookies to ensure you get the best experience on our website.
More info