ens-contracts
eattheblocks
ens-contracts | eattheblocks | |
---|---|---|
7 | 13 | |
531 | 3,967 | |
3.4% | - | |
8.4 | 0.0 | |
5 days ago | 3 months ago | |
JavaScript | JavaScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ens-contracts
- Implement offchain DNS Registrar support #203
-
ENS DAO Newsletter - The long-awaited NameWrapper is live!
More details can be found in the pull request.
- A beginner's guide to ENS Name Wrapper and It's Functionality
-
Daily General Discussion - March 6, 2023
M3mber: I think this is a way to mint an NFT that represents a membership in something with an expiry date (pitched as a way for DAOs to bring in recurring money like a subscription rather than just the one-off token sale). They use ENS domains, with NameWrapper to accomplish this; is it only because ENS domains already have expiry built in so they don't have to code it from scratch?
-
How to find length of string in Solidity, from the smart contract of ens
// SPDX-License-Identifier: MIT // Source: // https://github.com/ensdomains/ens-contracts/blob/master/contracts/ethregistrar/StringUtils.sol pragma solidity >=0.8.4; library StringUtils { /** * @dev Returns the length of a given string * * @param s The string to measure the length of * @return The length of the input string */ function strlen(string memory s) internal pure returns (uint256) { uint256 len; uint256 i = 0; uint256 bytelength = bytes(s).length; for (len = 0; i < bytelength; len++) { bytes1 b = bytes(s)[i]; if (b < 0x80) { i += 1; } else if (b < 0xE0) { i += 2; } else if (b < 0xF0) { i += 3; } else if (b < 0xF8) { i += 4; } else if (b < 0xFC) { i += 5; } else { i += 6; } } return len; } }
-
string length function explaination
I came across this helper function to find a string length present at https://github.com/ensdomains/ens-contracts/blob/master/contracts/ethregistrar/StringUtils.sol And I couldn't understand what this piece of code is doing uint bytelength = bytes(s).length; for(len = 0; i < bytelength; len++) { bytes1 b = bytes(s)[i]; if(b < 0x80) { i += 1; } else if (b < 0xE0) { i += 2; } else if (b < 0xF0) { i += 3; } else if (b < 0xF8) { i += 4; } else if (b < 0xFC) { i += 5; } else { i += 6; } } return len; Any help is appreciated. Thank you
- ERC1155 "Name Wrapper" is the .eth, and integrated extensions, new unified protocols
eattheblocks
- How to make your own Cryptocurrency very easily
-
Flashloan Question
Most Uniswap clones on BSC like PancakeSwap, BakerySwap, etc. support flashloans, here's an example contract https://github.com/jklepatch/eattheblocks/tree/master/screencast/310-flashloan-bsc , video explaining usage https://youtu.be/AS_8_C5fTOE
-
NFT Smart Contract with a Royalty
I'm trying to implement a functionality of giving a royalties to the owner after NFTs are sold on the secondary market. As I understand there is no default method or something to give a royalty, so I often see the following solution: https://github.com/jklepatch/eattheblocks/blob/master/screencast/379-nft-royalties/contracts/NFT.sol As I understand I have to pass a token to the constructor of this contract before deploying it. So the question is: if I want to mint and sell NFTs on the Ethereum Mainnet, which token should I pass inside the contract constructor? I see this guy implemented his own token for this purpose, but honestly I don't understand how is it compatible with ETH https://github.com/jklepatch/eattheblocks/blob/master/screencast/379-nft-royalties/contracts/MockToken.sol
-
Following a tutorial that does not seem to work
The source code is at https://github.com/jklepatch/eattheblocks/tree/master/screencast/223-personal-tokens
-
Getting Started with Web3: Communities and Resources
EatTheBlocks website or Eattheblocks youtube channel
-
15 and just got my first whole quant
find other people online who are also coders - you can start with eattheblocks.com (not affiliated or anything but i know the guy loves helping people , he could instead be making millions but instead devotes his time to educating .
-
Top 10 Smart Contract & Solidity Developer Learning Resources
EatTheBlocks
-
WNENG Dev Updates and Thoughts
u/Sefia Sefia posted two youtube guide on how to create BSC token (or BEP20 token). There are other youtube guide too. The method of steps are quite similar, setup Metamask wallet, connect to BSC. copy and paste smart contract, a software code of Solidity like this: https://github.com/jklepatch/eattheblocks/blob/master/screencast/308-create-bep20-token-bsc/Token.sol
-
How should my portfolio look like?
Here's a link for building a Compound Dashboard (that project inspired my answer). You can adopt it to cover the Uniswap use case: https://github.com/jklepatch/eattheblocks/tree/master/defi-development-mastery/3-project-compound-dashboard
-
Is "Mastering Ethereum" still the best way to learn Solidity development?
https://github.com/jklepatch/eattheblocks/tree/master/screencast/195-compound-leveraged-yield-farming
What are some alternatives?
EIPs - The Ethereum Improvement Proposal repository
full-blockchain-solidity-course-py - Ultimate Solidity, Blockchain, and Smart Contract - Beginner to Expert Full Course | Python Edition
contracts-v2 - 🐇 Hop Protocol v2 smart contracts
token - The CEO token solidity file based on the ERC20 protocol.
aave-flashloan-mix - A Brownie mix containing all you need to get started with developing flash loans
ethereum-boilerplate - The ultimate NextJS Ethereum Dapp Boilerplate which gives you maximum flexibility and speed. Feel free to fork and contribute. Although this repo is called "Ethereum Boilerplate" it works with any EVM system and since it uses Moralis SDK You can even use it on Solana! Happy BUIDL!👷♂️
solidity-cheatsheet - Cheat sheet and best practices for solidity. Write smart contracts for Ethereum.
openzeppelin-solidity - OpenZeppelin Contracts is a library for secure smart contract development. [Moved to: https://github.com/OpenZeppelin/openzeppelin-contracts]
ERC20-Staking-Machine - Dapp that implements a "fake-stake" mechanism on any ERC20 token
hashed-timelock-contract-ethereum - Hashed Timelock Contracts for ETH, ERC20 and ERC721 on Ethereum
hevm - Dapp, Seth, Hevm, and more
dungeons-and-dragons-nft - #chainlink #nft