GithubHelp home page GithubHelp logo

Comments (10)

kdeme avatar kdeme commented on June 10, 2024

I think you could make use of the yaml config file for that: https://nimbus.guide/options.html#configuration-files

from nimbus-eth2.

jakubgs avatar jakubgs commented on June 10, 2024

But I don't want to handle the whole file as a secret, just the fee address.

from nimbus-eth2.

tersec avatar tersec commented on June 10, 2024

How is something which shows up in plaintext in the block on chain a secret?

from nimbus-eth2.

jakubgs avatar jakubgs commented on June 10, 2024

Because you might want to avoid the association of a wallet address and yourself?

from nimbus-eth2.

tersec avatar tersec commented on June 10, 2024

I mean, again, in plaintext for blocks on chain. If that validator never proposes, then it's moot. If it does, then the world will see it anyway, no?

I guess I'm missing or misunderstanding something.

from nimbus-eth2.

jakubgs avatar jakubgs commented on June 10, 2024

I forgot to mention that my configuration is public:
https://github.com/jakubgs/nixos-config/blob/master/roles/nimbus-eth2.nix

Considering the fee recipient address can be looked up on the chain and associated with specific nodes and validators I do not want to include it in my configuration without encrypting it and treating it as a secret. And because secrets in NixOS have to be files which are created at runtime I would like to provide it as a file, rather than having to treat the whole configuration as a secret. Effectively negating the declarative nature of NixOS for this particular service.

from nimbus-eth2.

cheatfate avatar cheatfate commented on June 10, 2024

@jakubgs you can store suggestedFeeRecipient in file called suggested_fee_recipient.hex in hexadecimal form inside your validator directory.

from nimbus-eth2.

jakubgs avatar jakubgs commented on June 10, 2024

Oh, that's neat! That would work for me.

I see this mentioned here: https://nimbus.guide/data-dir.html#secrets-and-validators
But I see no mention of this in: https://nimbus.guide/suggested-fee-recipient.html

from nimbus-eth2.

tersec avatar tersec commented on June 10, 2024

So this is a documentation issue now, not a missing-functionality issue?

from nimbus-eth2.

jakubgs avatar jakubgs commented on June 10, 2024

Ah, forgot to close it.

from nimbus-eth2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.