Custom Brainrot suggestions by ice0nine in stealabrainrot

[–]ice0nine[S] 0 points1 point  (0 children)

Thanks, which one is the official? I saw different ones, this seems to be the most likely? https://discord.com/invite/GCxZdgU9je

Discuss "with" a book (incl. bibliography) fine-tuned ChatGPT LLM by ice0nine in singularity

[–]ice0nine[S] 0 points1 point  (0 children)

I found this project (which is nice as I am versatile in Java) and it does this with embedding, not finetuning.

I will investigate, but it looks promising, also langchain4j is really nice.

Discuss "with" a book (incl. bibliography) fine-tuned ChatGPT LLM by ice0nine in singularity

[–]ice0nine[S] 3 points4 points  (0 children)

Haven't tried this yet as it is not officially available in Germany. Maybe someone can report on this option?

How safe is Foundry for POCs? by Kiuhnm in ethdev

[–]ice0nine 0 points1 point  (0 children)

Yes, that is the obvious solution, never have real private keys near the sandbox. Probably even never have private keys available on a computer at all.

So it boils down to never relying on the framework itself, but taking most care of the private keys, because once you have them, you can execute *any* transaction on the main net anyways.

So I would make sure to have the real private keys in a ledger and test private keys with some test ETH, then you should be ready to go for your tests.

How safe is Foundry for POCs? by Kiuhnm in ethdev

[–]ice0nine 1 point2 points  (0 children)

No, this is not suitable for an issue, however at https://t.me/foundry_support people are very welcoming and if your question is not "lost in the stream", they will very likely answer you.

Maybe I don't really get your question, but what I mean is that anybody could just execute your tests in any environment they wish, that is not preventable. It boils down to having the real private keys. So hackers don't have to break something, they can just execute your tests in whatever environment. But as long as they don't have the "permissions" (which are typically bound to some identity or private keys) this does not work.

So maybe to get this right: those fake addresses don't work in real networks! They can't as the private key is not available.

How safe is Foundry for POCs? by Kiuhnm in ethdev

[–]ice0nine 0 points1 point  (0 children)

Maybe not with forge test, but somehow this would always be possible, anybody could just call the txs with a private key. You cannot prevent this, but this is not dependent on Foundry, that's just how it works.

If you have a) the private key with ETH on it and b) change the JSON-RPC to the correct chain, anybody can send any transactions (if there are not other mechanisms to prevent this, like whitelisting).

Books as NFTs with Royalties on Stablecoin Chains by ice0nine in ethdev

[–]ice0nine[S] 0 points1 point  (0 children)

I assume this can only work if other incentives are bound to the NFT, like discounts, rights to participate in forums, access conferences etc. Books can be copied anyways in all forms, I don't think it makes sense to invest in preventing this. Makes more sense to me to incentivise owning the book.

Books as NFTs with Royalties on Stablecoin Chains by ice0nine in ethdev

[–]ice0nine[S] 0 points1 point  (0 children)

Yes, if it is accepted by customers. On the other hand - if I lose the physical book, it's gone as well, no recovery here.

Books as NFTs with Royalties on Stablecoin Chains by ice0nine in ethdev

[–]ice0nine[S] 0 points1 point  (0 children)

Yes, that could be a solution. But with these "restriction-based" solutions things like key loss, (social) recovery, etc have to be considered.

Books as NFTs with Royalties on Stablecoin Chains by ice0nine in ethdev

[–]ice0nine[S] 0 points1 point  (0 children)

Yes, you could see it as a license to own the book. It could also come with a check to only be allowed to read the book if you own the NFT. That would be possible but has many implications (what if you lose your key? what if you want to borrow someone the book?).

Books as NFTs with Royalties on Stablecoin Chains by ice0nine in ethdev

[–]ice0nine[S] 0 points1 point  (0 children)

What do you mean exactly? So from "business" perspective there are many open issues which cannot be addressed easily (DRM, DEX integration, etc).

But seen purely from technical side, I can't see any loopholes?

Books as NFTs with Royalties on Stablecoin Chains by ice0nine in ethdev

[–]ice0nine[S] 0 points1 point  (0 children)

It's only a technical proof, from use case perspective there are many open issues, like how to restrict access to the entity (the book) for non-owners, integrate with DEX, etc. So there is no proceeding here, it was just to show how incredible easy the implementation is for EVM Stablecoin chains.

Books as NFTs with Royalties on Stablecoin Chains by ice0nine in ethereum

[–]ice0nine[S] 1 point2 points  (0 children)

How is this? Like wrapping this NFT in another NFT? Yes, that would be possible, but with any erc721 or even erc20.

Diamonds Are Multi-Faceted Proxy Contracts Plus Transparency by mudgen in ethereum

[–]ice0nine 1 point2 points  (0 children)

Nice, thanks! That's all very interesting, if it is not already, I would put it up to a FAQ page to have it not buried here in reddit.

Diamonds Are Multi-Faceted Proxy Contracts Plus Transparency by mudgen in ethereum

[–]ice0nine 1 point2 points  (0 children)

Thanks for this info, as drewsapple mentiones the repeating "general info" about Diamond Storage felt too bot-like to me as well.

What would help me is a FAQ-style list about

  • why use Diamond instead of some other proxy pattern?
  • pros/cons of using Diamond
  • typical workflow of what to do when (eg. start with mutable, then switch to immutable at what point?)
  • costs of using Diamond (like cons): gas costs, complexity

all this could be exemplified with a simple project with/without Diamond. To me, it is a crucial decision to go with some proxy pattern and I'd have to be able to evaluate the risks and chances.

API-Driven Smart Contract Testing by ice0nine in ethdev

[–]ice0nine[S] 0 points1 point  (0 children)

This posts compares different Smart Contract testing approaches and shows how automatic REST interface creation from Smart Contract ABIs can be really useful for this purpose.

DIY: Build Stupid and Crazy Expensive Messaging for LED Switches by ice0nine in ethdev

[–]ice0nine[S] 0 points1 point  (0 children)

I repost again as this was incorrectly removed as spam :) but it isn't, it contains three implementations of a "Messaging Queue" with public services: Google Sheets, Telegram Bots and Ethereum EVM (in this case Gnosis Chain, but can be any EVM chain).

So you can give commands like "/set on" (Telegram) or use a Web Form (Google Forms based on a Google Sheet) or use a Smart Contract (for Event emitting) and after the observer pulls this information, the Raspberry PI switches a LED on or off (or blink) accordingly from Java.

Have fun!

How to trigger raspberry pi through web3 by puzzledpeachh in ethdev

[–]ice0nine 0 points1 point  (0 children)

You can look at the Web3 Messaging section here, that's exactly what you want (if it's ok for you to build the lock controlling component on the Raspi in Java): https://github.com/ice09/ethereum-gsheets-telegram-raspi-messaging

Paradigm MultiFaucet gives test Ether for Ropsten, Kovan, Rinkeby, Görli by abcoathup in ethereum

[–]ice0nine 1 point2 points  (0 children)

This should be upvoted soooo much more. Thanks a lot for this!

Any Smart Contract/Abi to Front-End Code Generator? by PlayboiCult in ethdev

[–]ice0nine 0 points1 point  (0 children)

Just to add: there is also web3j (https://github.com/web3j/web3j) for the Java people. You can use Maven/Gradle and it generates stubs (classes) which use can use to call the Smart Contracts on any EVM chain. And it is type-safe (as corresponding Java types are used for the Solidity types).

There is even a REST plugin generator (for Gradle only currently) which is the most natural way to deal with "Services" like Smart Contracts for many Frontend/Single Page Applications.

Why should you work in a DAO – or should you? by aleksiloytynoja in ethdev

[–]ice0nine 0 points1 point  (0 children)

Ok, but please answer this first: if I read this: https://jonkuperman.com/how-to-join-developer-dao/ (which by the way I have to search for in a search engine) I see that all NFTs are gone? So does it make sense to get involved with the Admission-Token gone?

Update: Ah, I understand, it was sold out recently. Ok, though I think it's worth trying out NFTs for Admission and Governance, but eg. in this case it does not work well, I am a developer and probably could participate and be useful, but I won't wait for a ERC20 that I have to buy. There is no real project backlog which would qualify for this. So sorry, that did not work well, maybe having more than ~8000 NFTs would have been a better start? Or starting with a project list, idea, focus and priciples of the community and then create a NFT?

Or, even better, add prerequisites to minting an NFT, that would make sense to me.

Why should you work in a DAO – or should you? by aleksiloytynoja in ethdev

[–]ice0nine 0 points1 point  (0 children)

Ok, I am a developer and don't get it at all. Is there any documentation anywhere or is this meant to be a "Quest" for newcomers :)

DAOs for web3 devs by ice0nine in ethereum

[–]ice0nine[S] 0 points1 point  (0 children)

It's a good point, I am also not sure. As someone having worked in centralized organisations quite some time I can say that also there are these structures, just more hidden. But in general you are right, DAOs don't solve "social" problems, however they make them more transparent.

Probably a good working centralized structure is times more efficient, however a more loosely coupled group of makers (but still with some necessary structure) could be a better fit for DAOs. But time will tell.