{"repo":"artem-bayandin/blockchain-samples","free":true,"listed":false,"github":"https://github.com/artem-bayandin/blockchain-samples","clone":"git clone https://github.com/artem-bayandin/blockchain-samples.git","description":"Solidity samples: a) Diamond-2535 (2026Q1), b) Named Beacon Proxy (2026Q1), c) Raffle game; d) On-chain NFT","language":"Solidity","stars":10,"topics":["blockchain","solidity","smart-contracts","nft","onchain"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Samples of my code in blockchain domain. General tech stack is: Solidity, React, Hardhat (previously Truffle), Chai. Code might not be gas-efficient, nor it has to be protected against all the 100500% of existing vulnerabilities. It's just a sample. So if you think \"it shouldn't be done like this\", just ask me and I'll explain why this or that decision has been taken. You might be also interested in my standalone contract samples , the latter are available in my blockchain-utils repo. Enjoy! 'Replaceable' contracts (metamorphic) Mechanics to replace a contract at a specific address. Yes, REPLACE, not just \"upgrade\". A funky project (clone), that was forgotten. Moreover, with the Solidity updates (somewhere in 0.8.[0..28]), it might be not possible to achieve this with the latest Sol features. Refer to 0age/metamorphic Diamond pattern (proxy) Delegate work from your system to one of registered implementations. The original code might be improved, as you will definitely need to split some base libraries, which I've implemented in my other projects, but has not yet pushed it here. Refer to mudgen/diamond My improved implementation of Diamond with the latest Hardat and Solidity the code and extended description is here Named proxy (2025) the code and extended description is here Given standard OZ Beacons, it may only store a single reference to an implementation. But what if you wish to store all your project references in a single contract, and fetch it via proxies? So, here goe","default_branch":null,"files":null,"tree":[],"storefront":"/r/artem-bayandin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/artem-bayandin/blockchain-samples/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}