/r/ethdev
Ethereum-related dev talk:
Contracts, DApps, Wallets, Clients, Infrastructure, Tooling, UIs, Patterns, and others.
No specific rules are enforced apart from the normal global reddit rules.
Updated faucets for 2022:
https://goerlifaucet.com (new since March)
Updated faucet for 2021:
Older faucets (some might be broken):
For Rinkeby, Ropsten, Kovan, Goerli Testnet Ethers: Get them here and here
For more Görli Testnet Ethers: Get them here
For more Ropsten Testnet Ethers: Get them here
http://ethereum.stackexchange.com/ - The Ethereum Programming Stack Exchange
r/EthDevJobs - To find Jobs, and posting you're Hiring
r/ethereum - Offical sub, for discussion of Tech and Application Development using Ethereum.
r/ethfinance - A community for investors, traders, users, developers, and others to discuss Ethereum and its cryptocurrency ETH.
r/ethtrader - Trading sub, for price discussion of Ether and other cryptocurrencies
r/ethstaker - About staking your ETH: help and guidance
r/EtherMining - Ether Mining discussion.
r/ethereumnoobies - Ethereum for newbies
Others: r/ethtraderpro, r/cryptocurrency
/r/ethdev
It's been over 15 years since Satoshi Nakamoto introduced Bitcoin, igniting discussions on how Web3 could reshape traditional financial systems, build a better world, solve poverty, and break monopolies. However, after 15 years, large funds and VCs have begun to dominate the Web3 space, somewhat overshadowing the decentralized ethos it originally promised.
Despite these challenges, I believe it's time for Web3 to reclaim its potential, not through token governance, but through actual governance of real-world assets, like NBA teams.
Who am I?
I'm MingDynastyVase (https://twitter.com/MetaDynastyVase), an engineer in the Web3 sector and a fervent NBA fan and NBA Top Shot NFT collector.
My Dream
Owning an NBA team has always been a dream of mine. Despite being a middle-class kid without extraordinary means, I've nurtured this dream by investing in Madison Square Garden Sports stocks, aspiring to participate in what I consider the ultimate fantasy game.
Inspiration from Web3
Inspired by Don Tapscott’s "Blockchain Revolution," I've realized how decentralized autonomous organizations (DAOs) could manage real-world businesses. Within the NBA Top Shot community, I've met others who share a deep love for the league and believe in Web3’s potential.
My Plan
Traditional DAOs have often been criticized for centralization, where a few control the many. I aim to diverge from this by rallying the passion and fandom of the community rather than just fundraising through tokens. Here's how I envision it:
Benefits for You
By transforming fans into owners, we not only democratize team ownership but also integrate the passionate spirit of sports with the transformative potential of Web3.
Ok. I'm 17 turning 18. In the past few months, while I was trying to learn about tech, I was constantly distracted by the thought that I wouldn’t get a dev job. When I look online, I see job listings that require 3+ years experience. There are hardly any junior dev jobs now. Even if there are, they are web dev, which I’m not interested in. I was indecisive on what field to pursue, trying to find the quickest way to get a job because I’m almost 18 and I want to be independent. As a result, it was difficult to concentrate and I wasted a lot of time.
I want to take my time to learn things thoroughly and do things the hard way, but I feel that I have to rush because I don’t want to keep being dependent on my dad. He doesn’t mind me living with him after 18, but I do. I feel guilty.
Eventually, I would like to be a blockchain core developer. There aren't many jobs, and pretty much no junior jobs for protocol core developers. So, I don't know how long it will take me to study everything and secure a position. Yet, I would need to support myself.
So I thought I’d train for a position that has a lower barrier to entry than a junior dev, like a technical writer for blockchain/web3 companies. That way, I could start working, be independent, gain experience in tech, and take my time studying comp sci and blockchain knowing that I can support myself. Plus, I like writing, and I’m sure I’ll learn a lot in that job.
Or, I could try to suppress the doubt that I won’t be able to find a dev job while continuing to study at home. I think this route is going to be more difficult, but I’m looking for the better route, not the easier one.
Which option is better?
Get a technical writer job or just study at home until I get a core protocol dev job?
Thank you
const getCampaigns = async () => {
const provider = new ethers.providers.Web3Provider(window.ethereum);
const signer = provider.getSigner();
const contract = fetchContract(signer);
const campaigns = await contract.getCampaigns();
const parsedCampaigns = campaigns.map((campaign, i) => ({
owner: campaign.owner,
title: campaign.title,
description: campaign.description,
target: ethers.utils.formatEther(campaign.target.toString()),
deadline: campaign.deadline.toNumber(),
amountCollected: ethers.utils.formatEther(campaign.amountCollected.toString()),
pId: i,
}));
return parsedCampaigns;
} when getCampaigns is called the a call function invert shows up how to solve this
I am starting my solidity internship in two weeks time and I would like to increase my chances of getting a full offer after the internship. It is fully remote and the team is spread across the globe but mainly in EU and South Africa. I have a degree in Applied Mathematics and Computer science and I have one year experience working with R in fintech, and another year of freelancing. I got this internship by participating in hackathons and being active in the community. How can I maximize my chances of landing a full offer. during thr interview process I did mention that I would require some mentorship but generally outside of that I want to secure the full offer after the internship and gain experience with solidity.
Hi, I'm studying to become a core developer, and I'm looking for good textbooks to teach me the fundamentals. I'd very much prefer hands-on books/courses where I am assigned many projects. But if there aren't any, I don't mind assigning myself projects. The completeness and clarity of the content is more important to me than hands-on books/courses.
Current Knowledge:
Thanks!
As the title says, I want to convert address to bytes32. I'm aware that in recent versions it is no longer directly convertible. I've seen a number of different ways such as:
1
bytes32(bytes20(address))
bytes32(uint256(uint160(address))
No idea how accurate of efficient any of these might be however.
I get such error of compilation in Optimism Sepolia testnet network.The contract succesfully compiles using hardhat with needed configuration.What should I do to get verified the contract ?
As the title says. Would the transaction fail, or is it just a less efficient way to swap that costs more gas or something? Furthermore, if applicable, is there any real difference in swapping ETH vs WETH, using swapExactTokensForTokens? Would WETH transaction succeed and ETH fail, or would they both pass or fail?
Hey everyone, I'm currently doing UX research on crypto wallets and I'd like to hear what crypto users have to say about the pros and cons of using the wallets? You can specify the improvements you'd most like to see or the things that annoy you.
Thanks in advance :)
Hey guys, I am an full stack blockchain developer with around 2 years of experience. In which I was mostly working on blockchain side. I got an interview for senior software engineer with no way I am qualifying for and guess what I don’t know DSA and system design. Now I am have and hiring manager round in coming few days starting up preparation.
I got only one question should I say them I am looking for internship or lower role or should I just try ?
And help would appreciate thanks.
If you work on the protocol level what does your testing stack look like? do you test on testnets / devnets / private testnets? What is good and bad about your workflow?
I need to get initial token supply when liquidity pool was created by querying Ethereum node (RPC) or Uniswap contract and not Mint() function, is it possible to do (python)?
To get reserves on any block I can by contract.functions.getReserves().call(block_identifier=N)
, but the problem if there were trades in that block, I will receive reserves by that end of block, not initial.
Why not Mint() function: because finding it in blockchain will take time and also decoding topics functions also take time, but I need to get it fast.
Hello i got bluebird on base on cb wallet and did all my research and everything website said it was safe to buy, token sniffer, dex tools, all that. Now token sniffer says its a scam and i cant sell my tokens.. i have over 10k worth is there anything i can do? Everytime i try to swap it says failed
Contract address is 0xafb9b3b3bb97dfda0883e60dddfafc14180fe6a6
Please let me know if theres anything i can do to get my money back.. this is a very big problem in my life
What are your thoughts on a decentralized exchange design that introduces synthetic leverage for liquidity providers through dynamic Ol caps and Ol skew? Do you think this concept is feasible, and what potential risks or challenges do you foresee? Looking for feedback and insights!
So here is the idea, Instead of traditional leverage mechanisms, I am thinking of a dynamic Open Interest (Ol) caps and Ol skew to allow LPs to take on synthetic leverage. By matching existing long and short positions within the system, additional LP capital is unlocked without the need for direct borrowing. Smart contracts monitor Ol skew in real-time and manage positions, while Auto Deleveraging (ADL) ensures LP solvency. The aim is to enhance LP efficiency and returns without the risk of liquidation. Its something like leverage without liquidation.
An example would be like:
At a 50-50 Ol skew, LPs are delta neutral. At this state of the markets, we increase the caps for Ol and allow more trades to be placed against "synthetic capital", i.e. these trades would not need to be placed against actual liquidity - instead we'd effectively be matching already open longs and shorts against each other, to set off LP liability and "unlock" existing LP capital (we'd need to draw up a smart contract that monitors Ol skew, matches existing longs and shorts with each other and finally keeps track of outstanding liabilities).
For this to work, Long and Short side Ol caps need to be dynamic and increase / decrease based on Ol skew in real-time. We use ADL to close profitable positions if skew ever reaches a predetermined threshold to ensure LP solvency.
Scenario A:
100$ in LP
$100 in open interest - 50/50 skew
At this stage, we open up $100 more in open interest caps since LPs are net neutral (effectively leveraging the entire LP 2x).
If long Ol then increases by $20 (total Ol now at $120 - skew at 58 / 42) then we have essentially $20 liability if longs profit because the rest of the longs and shorts are net neutral (there is still $100
buffer in the pool)
If Shorts then close $40 worth of their positions and Ol changes to $80 total ($70 in longs and $10 in shorts) - LPs have $60 in liabilities if longs profit (skew imbalance)
Scenario B:
100$ in LP
$100 in open interest - 50/50 skew
At this stage, we open up $100 more in open interest caps since LPs are net neutral.
Short Ol increases by 90 and long Ol by $10 (total Ol is $200 - skew $60 / $140) - that's potentially an $80 liability.
So is it feasible and doable from a smart contract perspective? Thanks for reading a post so long :)
We're excited to share that the first draft of our litepaper for Watchit is ready! We've put a lot of effort into this and are eager to hear your thoughts. Watchit is all about transforming film distribution using decentralized technology to support independent filmmakers and connect them with audiences worldwide.
Why You Should Check It Out:
👉 Want an early peek? Please leave a comment or DM.
Thank you guys!
Looking to hire devs or getting hired as one join our community
For any builders who accept crypto payments, what tools or provider do you currently use.?
Or are you currently looking for a solution?
⭐️ HyperHash AI: Leading the Charge in Digital Solutions
We are thrilled to announce the official Uniswap launch of HyperHash AI, a cutting-edge platform that provides innovative services across various domains, including gaming, cloud mining, and 3D rendering. Our technology leverages the latest in GPU and CPU architecture to deliver unparalleled performance and reliability.
🎮 Our Features Include:
GPU/CPU Rental Plans: Access high-performance hardware on demand for your computing needs.
Powerful 3D Rendering: Bring your creative projects to life with our advanced rendering solutions.
High-Performance Gaming: Experience gaming like never before with optimized resources.
Profitable Cloud Mining: Mine your favorite cryptocurrencies efficiently and profitably.
AI & ML Innovation: Stay ahead with our AI-driven solutions enhancing every aspect of our services.
🔗 Key Links:
Explore Our Dashboard: Visit Now at dapp. hyperhash. ai (please search it for manually)
Official Smart Contract Address: 0x34b64fD41675520bF5098BbCc37C679cA55Fb5df
Audit Report: https://github.com/interfinetwork/project-delivery-data/blob/main/HyperHashAI/HyperHashAI_AuditReport_InterFi.pdf
PRE - CoinMarketCap: https://coinmarketcap.com/currencies/hyperhash-ai/
🗓 Launch Details:
Date: Today, May 9th
Time: 18:00 UTC
Platform: Uniswap
🔗 Connect with Us:
Twitter: https://twitter.com/HyperHashAI
Telegram: @hyperhashai
Official Website: www. hyperhash .ai (please search it for manually)
Whitepaper: https://docs.hyperhash.ai
Join our community today and be a part of the revolution in digital services. Your future in the digital economy starts with HyperHash AI.
👉 Join Our Main Chat to discuss and celebrate the launch with the community!
I'm looking to start a career in blockchain technology because I find it fascinating. But I also need to find a job because I'm almost 18 and need to start being independent. I know it's going to take a while to learn, but I have all day, everyday.
I'm not interested in web3 dev (maybe backend is ok). I'd rather do smart contract development or protocol development.
Since I need to find a job, which one has a lower barrier to entry? Better yet, what is the saturation to barrier-to-entry ratio for each?
Thanks
Are Ethereum developers just web3, dApp developers for ethereum's blockchain? Or are there different types of developers in this field?
Type of specialty I'm looking for:
I got interested in blockchain technology because of its decentralised nature and how beneficial that could be to having transparent and non-corrupt organisations and systems. My father had been involved with government officials before and the stories he tells me of how corrupt and rigged the whole system is, is just unbelievable. I think blockchain technology can really make people less dependent on these governments, and I want to contribute to it and see it become a reality.
What field in blockchain or ethereum (if any) should I study for in order to make the blockchain itself better? And to also get a job in that field because I need to survive lol.
Here is weird transaction that is first one in address and that is tagged as SELF
. From
=To
. Guy made from nothing 0.5 ETH. How is that possible?
https://etherscan.io/tx/0x9a1ae0f0c5853fbe9701783fd706ff9c0798b813d3a93d1f740e21a73cb47328
I want to compile and deploy my contract.
When I use solc with --viaIR (a requirement of my contract, as one function has 8 parameters, which is obviously more than solidity can handle), it compiles successfully (with both bytecode and deployed bytecode).
When I deploy it, the contract is unsuccessfully deployed; trace gives the message 'Bad instruction'.
I've encountered this same exact error before with a different, smaller contract, so I tried solcjs, which coincidentally doesn't give this error. When I try solcjs on this contract, it tells me I should try compiling with the --viaIR flag. Problem is, the flag doesn't exist. So I try using the --standard-json option and write a json configs file. When i then run solcjs with --standard-json ./COMPILER_CONFIGS.json, it enters an infinite loop and the program is stuck on something.
So my question is how do I solve solc giving bad instructions or, alternatively, how do I supply configs to solcjs?