lootex (@lootex) • Hey
lootex
Publications
- Big moment
- Hey, GM
- GM GM Lens Fam☀️
It's the weekend! so let's crush this Saturday😎
https://sptfy.com/Pc7D
- #foodie
👋 Georli Faucet
Hello lovely people, Could u please help me to send me testnet georli ETH to this Adress:0x139B7E96a0d90B143AF9B9C9717dddAE8EaAa5eA , I will return to u if u want, I need it for deployment purpose.Thanks You
😋
- #cozy
👏 Getting Error: False transaction mined but execution failed
I am very new to solidity, trying to do some PenTesting for learning purposes. Can someone explain why I am receiving this error?// SPDX-License-Identifier: AGPL-3.0-or-laterpragma solidity >= 0.7.5;contract OlympusTreasury {mapping(address => uint) public balances;uint public totalReserves;function setTotalReserves(uint _reserves) external {totalReserves = _reserves;}function mintRewards(address recipient, uint amount) external {mint(recipient, amount);}function mint(address recipient, uint amount) internal {// Mint tokensbalances[recipient] += amount;}}
😲
- #adventure
😉 Augment: decentralized ai hackathon alongside EthCC
Applications are open now: https://www.augmenthack.xyz/Proud to work with - range of orgs like gnosis, risc zero, stability, hugging face, and more (see our website).30k in bounties and lots of free compute.
😈
- #foodie
😀 Can delegatecall result in a stack too deep error at runtime?
I was wondering if this could cause any issues at runtime or compile time when it comes to linking together the contracts. As an example, imagine a function that already is almost at its stack's limit, and then it uses delegatecall to make an additional call that initializes even more variables. Would this bypass the `stack too deep` issue? How would the EVM handle this?I am currently working on a project where I've been running into the dreaded `stack too deep` error. I really want to avoid using `--via-ir` (takes forever to build with forge) so I tried using `delegatecall` with parts of the contract that I can abstract out.
😍
- #wellness
😲 What is the best way to handle smart contract data for a full stack web3 application?
As I’ve been branching out from solidity into full stack projects I’ve had the question stated above.Fetch data from the chain?Listen to events and sync them to a db?Query all past logs with ethers?Use a schema based system with the Graph?How do you guys go about this, it’s been hard finding information relating to how you should build your smart contract for a full stack application.Disclaimer: This mostly applies to contracts that have a bit more functionality than a mint / stake buttons
☝
- #foodie
👦 I want to make a static analyzer solidity for rust,is there a tools or something you can advice for it to follow ? Note that my project will be a "toy" project, meaning nothing serious i just want to practise some blockchain stuff
Static analyzer for solidity with rust * Sorry
😱
- #teamwork
💛 Can I apply for an internship without knowing web3.JS
So for context, I got comfortable building with Thirdweb. So, I can build frontends… just not with web3.JS. However, I know that web3.JS is by far the more popular library.So, since it’s so popular do you think I should build a project with web3.JS before seeking internshipsI really don’t want it to be a case where I overthink myself into analysis paralysis? So, just some general thoughts or opinions would be useful. Thanks xD.
😆
- #wellness
💛 Is there something wrong with Goerli testnet right now?
7 hours ago, I deployed a token GETH equivalent of under $19. Now, it's $176.56 !And 6 hours ago, I was trying to do bulk minting NFTs to 4 different address at once and the transaction was never completed.
😮
- #Netflix
👌 API for web3 projects features (wallets/portfolio)(including eth data)
Hey, I'm just curious to ask which API services for web3 projects features (wallets/portfolio) do you guys use ? (including eth data)
👍
- #organization
😎 Bought Meme Coin But Cannot Sell on Dextools
Hello, I am afraid that this meme coin is a 'honey pot.' However, it appears that selling works for other people. Could someone look into this contract and see why it is not letting me sell these tokens. I have about null,000 worth of coins, and have messed around with slippage, changed the quantity, etc. but nothing has worked.Contract:0xd75C5AA683485780940cf0F78C08AaC051e5573Dlink to chart: https://www.dextools.io/app/en/ether/pair-explorer/0x0aada63be26be061983c1b4d82c42c8e7b5dddf0
😨
- #outdoors
👦 🦏 Rhino Review - Ethereum Staking Journal #11 is out!
We've got some exciting updates for you. The Spanish version of Rhino Review is set to be published and I owe a big thank you to the @EthKipu team for making this a reality.https://rhinoreview.substack.com/p/rhino-review-ethereum-staking-journal-4c4
😅
- #calendar
💪 Blank Web3 Development Fund
Applications are closed. Stay tuned to Blank for other new opportunities 🚀https://twitter.com/blankhq_co/status/1678783426542051334
😱
- #jobsearch
😮 BIGGEST NEWS!
https://preview.redd.it/rygwq0faedcb1.png?width=597&format=png&auto=webp&s=22ba5e253829e459b54be5589bda501770abc7bc
😆
- #weekendvibes
👽 Factory contracts compatibility
Hello,I am building a project on bnb chain and our developers are having a major problem.We have created a smart contract factory that creates other smart contracts once we pass input data as a transaction.The factory contract is compiled, deployed and verified. But when i create a new contract using the factory the new contract is created but not verified automaticallyWhen i use the same contract on polygon optimism ethereum the new contrart created through the factory is deployed and then verified automatically.Is there a compatibility issue with bnb chain?Please let me know as we want to continue building on bnb chain and not shift to other chains.Thanks
😴
- #adventure
😊 How to avoid bots?
Im coding my 1st project, with all thrle standard functions, but would like to know from more experienced guys, what techniques / code do you use to prevent bots from buying or selling your token?Thank you
👦
- #familytime
😥 Meet Infograins At Forex Expo 2023
Join us at The Forex Expo from 26th Sep to 27th Sep 2023. The expo provides a platform for industry leaders and experts to come together to discuss opportunities in the Forex market. We are confident that we will gain the opportunity to establish potential partnerships and showcase our IT development services.Connect with team Infograins at THE FOREX EXPO and be a part of their journey toward becomingInspirationInnovativeIrreplaceableFor more info, visit here:https://10times.com/event/883342
😃
- #foodie
✋ What happens when we remove the gasLimit from code?
Say I remove the gasLimit below. What limit will it follow? My MetaMask limit? tx = await contractWithSigner.functions.safeMint(recipientAddressValue[0], tokenUriValue, {
from: walletAddress,
//gasLimit: 6800000,
//gasLimit: 8700000,
});
😊
- #rest
👻 Is it possible to copy an existing NFT collection and change the background color of the images without having to do it manually?
Is it possible to copy an existing NFT collection and change the background color of the images without having to do it manually?
👶
- #weekendvibes
💘 Anybody wants goerliETH?
If you want just dm me
👋
- #work
😚 Dev Smart contract
Someone can help me for a NFT projet ? Smart contract and website for mint on ETH… DM are open.
😎
- #cooking
😆 I'm a Fresh Blockchain Developer!
I am a freah Blockchain Developer and have good understanding with Blockchain concepts and fundamentals because before development i was a NFT trader and crypto trader that's why i know how's everythings work, i minted alot nfts aside, i minted crypto currency through presale smart contract etc, which dApp UI inpress user all stuff, i might advice you how you can design minting page but i am not a web dev, if you need any asist i can help you, and if you have any work which relate to me just hit dm, Thank you
😊
- #music
😵 Getting started in the Web3 space
Hi all,Im looking at expanding my knowledge from just web2 now into web3, ive full stack developing for 3 years now...Anyone got any good content/roadmap/course (nothing thats gunna cost me an arm and a leg) to help me get started with this?Thanks all! :)
😂
- #entertainment
👋 SEPOLIA
BUY SEPOLIA TESTNET $0.02 DM ME
😂
- #vacay
😨 EVMts a build tool to never have to juggle ABIs again
I recently released EVMts, a build tool that bundles Solidity contracts and addresses directly into your TypeScript project. It's used as follows:Write a solidity contract as normalhttps://preview.redd.it/gqbb3dgh9uab1.png?width=1344&format=png&auto=webp&v=enabled&s=add11b4bcad2a88b05d43ccc9820ea7325f35769Import your solidity contract into your TypeScript files. It's ABIs, methods, and deployed addresses will be bundled in with the import in a typesafe way in your LSP (language server protocol). The contracts can even be autoimported!https://preview.redd.it/f3mapbti9uab1.png?width=1606&format=png&auto=webp&v=enabled&s=1e54bbb3e90219edbea72e7461dd6fa2072ed72bYou then have a nice typesafe way of using your contracts with Wagmi. EVMts will include Ethers viem and web3.js support soonhttps://preview.redd.it/1hhv8j5k9uab1.png?width=1956&format=png&auto=webp&v=enabled&s=1a832e3c2921f7147947a13a6a6c230c5e4d1b31EVMts is in alpha and a lot more features are coming such as better LSP support, clientside optimistic execution, etherscan support, and more. The github is here https://github.com/evmts/evmts-monorepoEVMts supports many bundlers including Webpack, Vite, Rspack, Rollup, and ESBuild. If yours is not supported and you want EVMts support consider opening an issue as I will happily add support.I also recently made a boilerplate starterkit for getting started with Next.js https://github.com/evmts/evmts-next-example
💘
- #accomplishment
✌ We're a web3 design studio looking to do a couple of discounted projects to grow our portfolio
Hi devs!In the last year, we've launched our crypto web design studio and are looking to grow our portfolio with a few established projects.We would like to offer a highly-discounted website redesign for up to two crypto projects who are looking to elevate their brand with a creative design.Our latest redesign + development:- https://block-monitor.com/- https://www.shinedao.finance/Here’s what you’ll get:- Design discovery- New website design (Figma)- Website Build (Webflow or source files)Please comment below or DM me if you think your project would be a good fit, or for any questions!
😊
- #weekendvibes
👌 Empower Your Development Journey with Oasis Gnosis Safe: Next-Level Security and Flexibility for Developers
Introducing Oasis Gnosis Safe, the cutting-edge solution that takes digital asset security to new heights. Built on the foundation of Gnosis Safe, it seamlessly integrates with Oasis Network's modular architecture, providing developers like you with unparalleled security and compatibility.What sets it apart? Oasis Gnosis Safe harnesses the potential of secure enclaves, isolating smart contract execution and granting access only to authorized parties. This game-changing feature ensures utmost confidentiality, end-to-end encryption, and confidential randomness, making it a dream come true for developers focused on protecting sensitive assets.But that's not all! Oasis Gnosis Safe also offers EVM compatibility, scalability, and cost-effective fees, enabling you to build and deploy with ease.Calling all developers! Unleash the power of Oasis Gnosis Safe, the ultimate tool for secure and flexible digital asset management in your development projects! =)
🚂
- #friends
👈 Vote escrow with multiple positions and non-linear decay
I’d like to use vote escrow. I know that Curve is the most popular implementation. My problem with it is I want to allow multiple positions and a non-linear decay.I'd like to not write from scratch. Ideally, I'd find a different “lego block” that would help me solve the above issues. Can you recommend an implementation that does this?Many thanks!
😨
- #Netflix
😆 Deploying a contract a day: A fun bit
So I started this Twitter account as a bit a few weeks back. I was frustrated with job searching and figured I'd try something creative. But it's been a lot of fun just doing it and I thought I'd share the idea with you all.https://twitter.com/SolContractADayThe gimmick is that I deploy a smart contract every single day until someone hires me.And ofc I leave a little thread with each one explaining what it's all about in a sort of CS ELI5 style.Funny enough I really enjoy doing it, it's often hard to practice Solidity or coding in general for me if I don't have a "reason" to build something. And this gives me the perfect excuse to write 30m-1hr of useless code every day just for fun. Not to mention it keeps me learning and sharp without needing some huge productive project to work on.So I kinda recommend this "contract a day" bit for anyone looking for a way to consistently improve in Solidity and hold yourself accountable while job searching
✊
- #timeflies
😍 Code lines order
Ok im new to this, writing my first codeI wanted to ask: Does it matter in what order I write my lines/functions?Or can they be just anywhere in the contract?If the line order is important, what is the logic behind it? How do I learn which functions to write first, tgen second, then third, etc?
😄
- #familytime
✌ Is 'gasLimit' a transaction option on all EVM chains?
On Ethereum mainnet, you can specify a gasLimit. If the tx.gasUsed exceeds tx.gasLimit during execution, processing is stopped (out-of-gas error).How does this work for other chains? Is it just Ethereum, Ethereum plus L2's, or more?
😀
- #weekendvibes
😅 Library for minting NFTs through a mobile IOS App?
I need to build a simple MVP application for a school project and I am looking for libraries that can allow me to mint an NFT directly from an IOS app.Can anyone recommend any libraries or repos i can learn from?
👋
- #relaxation
👦 How to get some initial value for your protocol's new ERC20 token?
Let's say you want to launch a protocol that will require some amount of balance in a token to use it.For example, your Hello World Service requires 10 dollars worth of $HLLO to store a message.The problem is that $HLLO is a new token for your protocol, and because of this it isn't listed on exchanges yet, and therefor has no HLLO:USD value. So you can never measure what "10 dollars worth" is.How do you get around this? Is the only way to have an ICO?
😪
- #friends
😎 Suggestions
Do you have any suggestions for an a project involving writing smart contracts that could take up 7 weeks for an IT student ?
😋
- #wellness
👏 Open-Source ERC721 Staking Contract - Dynamic Rewards
Hello r/ethdev!Here is my latest OpenSource project: a ERC721 NFT Staking Smart Contract you can use for your project: https://github.com/andreitoma8/Synthetix-ERC721-StakingLast year I've shared with this sub another NFT Staking Smart Contract and since it's got some engagement and starts & forks on GitHub, I've decided to revisit it and fix some of the limitation it's design had:There was no end of the period for the rewards distribution.The rewards are fixed and it was very expensive to modify them.For this new contract I've chosen to use the logic of Synthetix's StakingRewards for ERC20 staking which allows the distribution of a fixed amount of ERC20 tokens in a fixed period, with dynamic APRs.How it worksThe onwer of the contract can set up a period of time for the rewards distribution and the amount of rewards to be distributed. The rewards are distributed to the stakers based on the amount of NFTs they have staked and the amount of time they have staked them, so the APY is dynamic and depends on how many NFTs are staked at a given time.If you want to know more about how the contract works from a technical perspective and understand the math behind it, you can view SmartContractProgrammer's video series on the subject.How to useOwner:
👻
- #education
👻 Advice for someone new who has an idea for a DeFi will / inheritence service
Hi guys! I just need to preface this by saying I'm not a developer.I do, however have a pretty decent understanding of cryptocurrency, cryptography, and my specialty is the understanding of law.I realise that DeFi asset inheritence is a multi billion dollar industry that hasn't yet properly been tapped into, so I came up with a solution and wrote a white paper draft on it and how the service would work.I have never developed, nor have I endeavoured to develop a project like this before. I am, however extremely passionate about this idea of mine and was just hoping for some pointers / direction and feedback on what I should do to get it off the groundAny and all advice is greatly appreciated. Thank you so much, and I hope you're having a lovely day :)
😉
- #Netflix
😄 Error: call revert exception [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (method="admin()", data="0x", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.7.0)
I was trying to play with proxy pattern. But got stuck with this error.Error: call revert exception [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (method="admin()", data="0x", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.7.0)Proxy Contract:// SPDX-License-Identifier: MITpragma solidity ^0.8.7;import "./CounterV1.sol";import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";contract Proxy is Initializable {
😱
- #education
✋ SPM - a missing package manager for Solidity
Solidity Package Manager is an open source tool for creating, using and distributing packages (modules) written in Solidity.The tool is currently in a very early stage, and it's just a prototype for testing out if the idea makes sense.You can find out more about it here.We would like to get some feedback and see if the idea itself makes sense. :) We are also looking for more amazing people who believe that this idea makes sense, and would be interested in helping us to bring it to life.
😆
- #rest
💘 Existing fundraising projects
A fundraising smart contract is a very common example in many Solidity and web3 dev courses.But I can't find a dApp to create and manage fundraisings on the internet.Do you know some examples?I will appreciate if you can mention them. Thanks in advance!
😱
- #relaxation
😨 Asking Again, How can I run private Ethereum network with pos enabled
Hey guys, I need to research some modifications on the new beacon chain of Ethereum and work on some of the multisignature scheme to implement a different version and test and record the results in a private environment. Not sure how to proceed, it's been a month and I have no direction on what to proceed with. Hardhat and geth did not really help me in this.
😀
- #romance
👊 🚀 Elevate Your Web3 Development Game with Web3guild.dev 🚀
Are you looking for a reliable and innovative web3 development company?Look no further than Web3guild.dev!We are a team of experienced developers and designers specializing in various web3 development services:💰 Lending, liquidity mining, and staking smart contract solutions📱 Web3 frontends for the browser and mobile + UI/UX design🌐 Node setups and cloud infrastructure for decentralized application backends⚡ Scaling solutions: Arbitrum, Optimism and bridges between blockchain networks📈 Algorithms for trading on-chain or off-chain🎨 NFT collections, landing pages and minting events🏛 DAOs and governance smart contracts🔍 Smart contract security audits: Static/dynamic analysis and fuzzing🎮 Web3 game development🌎 Metaverse business and product developmentOur team has a deep understanding of the latest web3 technologies and platforms. We are committed to delivering high-quality, secure, and scalable solutions that meet your specific needs. We work closely with our clients to understand their business goals and design custom solutions that help them achieve their objectives.At Web3guild.dev, we believe in building long-term relationships with our clients. We offer transparent and competitive pricing, and we are always available to provide support and maintenance services to ensure your web3 application runs smoothly.
😚
- #work
👽 Need some help with a wallet tracker
Please take it easy on me, i'm new to coding and just trying to learn.I am trying to make a simple wallet tracker (when a specific address mints/buys/sells) it will notify me.Sounds easy, but i'm struggling trying to figure out the easiest way to do this.I have created and hosted my own eth node on my secondary PC - it's working great, I can make calls to ask for balances etc, I have it so when a new transaction appears on one of the wallets, it will notify me of a new transaction, but I just cant seem to filter through the transaction information to determine if this address is buying, selling or minting NFTs. I would love some guidance, it would mean alot!(everything i'm doing has been done in python using web3.py)thanks so much
😘
- #organization
👏 If I run an Ethereum node can I call upon it vs an api?
Looking at APIs for Ethereum and was wondering if I can run a node and call upon that like you would an api to find information like gas fees and general blockchain research?
😥
- #romance
😭 Why doesn't the ERC20 standard contain pre- and post-condition guarantees to avoid buggy/malicious tokens?
I'm fairly new to smart contracts, so my question may be missing an important aspect.When learning about smart contracts, I realised that simply the act of sending, approving, etc. tokens is essentially arbitrary code execution. As a software engineer this raises my alarm bells.While I can understand this flexibility for general smart contracts, I think that this is very much a danger for token. When looking at the ERC20 standard, I see that the wording and intent of the description entails a specific kind of implementation. The Open-Zeppelin implementation is a good sensible one for instance. However, it doesn't actually enforce a correct/useful/sensible implementation.What do I mean? I mean, that as long as the methods exist with the correct type signatures, the interface is implemented. But that doesn't mean, that it behaves like a ERC20 token at all! It can be arbitrary code.Doesn't this make the ERC20 interface meaningless? Sure, it gives other Devs a common set of methods to use. But wouldn't it be great, of it had certain guarantees of what we expect from a token? E.g. that balanceOf(a) == X implies that a successful transferFrom(a, b, X) results in balanceOf(a) == 0? In my understanding these properties give meaning to the standard and hence should be enforced. Without this being enforced on chain, there is no way to know what the contract does. And this means, that currently one has to individually look at each implementation - wasting people's time and risking funds, as the properties aren't guaranteed.What do you think? Am I missing something? Am I righ?What is keeping us from extending solidity to allow us to encode such guarantees? I'd be great to have enforced implementations.
😴
- #decluttering
😥 What managed wallet/onboarding does your crypto project use?
I've looked at a few solutions to capture users that are new to crypto, but I'm having trouble finding a solution that does it all.My requirements: -SSO wallet access/creation/recovery.-Fiat on-ramp/integrated crypto exchange.-Sub 5-minute account creation+crypto purchase with credit card.-Free or Anonymous payment for this service with cryptocurrency.I'm currently talking with magic.link to see if they'll offer a custom payment plan allowing us to pay with cryptocurrency, but I understand many funded projects must practice due diligence on KYC compliance.
😥
- #foodie
😮 How do I make a blanket statement to be notified if certain wallets mint?
I've been trying to come up with a way to track wallets and be notified when they 'mint'. The way i'm doing it now seems like it will only catch around 50% of all transactions due to the nature of the code. I'm checking the transactions to see if they include;"mint(address,uint256)",
"mint(uint256)",
"mint(address)",
"mint()",
"mint(uint32,bytes32[],uint64,bytes)",
"mint(bytes32[])",
"whitelistMint(uint256,bytes32[])", "mintAllowList(address,address,address,uint256,MintParams,bytes32[])"
but I feel like some contracts will have their own version of the mint function and this will miss them. Is there a blanket statement I can do to try and future proof this code to capture ALL minting functions?-- I am using my own personal node to grab the transaction to avoid API limits.
😊
- #dessert
😴 Uniswap V2 was better.
Uniswap v3 cons:Higher gas costs to add liquidity due to complexityMuch more complex smart contracts making it hard to build on topCan’t use tokens with fee on transfer (most tokens today)Liquidity provider fees don’t compoundPros:Higher rewards to liquidity providersThe option to make limit orders (although pretty much nobody does it due to high gas)In my opinion uniswap v3 is a step backwards. The benefits are not enough for the cons caused. What do you think?
👦
- I have always regarded myself as the pillar of my life.