Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[App Request] - Rootstock RSKj node #562

Open
royalgarter opened this issue May 14, 2021 · 12 comments
Open

[App Request] - Rootstock RSKj node #562

royalgarter opened this issue May 14, 2021 · 12 comments

Comments

@royalgarter
Copy link

Hi community,

Last week, I learned about RSK and their features and totally amazed. I was learning to add a RSKj docker to current Umbrel Node via Docker, but it's not done yet. So a shower thought that do you guys think about adding RSKj to Umbrel in the future?

@Goro2030
Copy link

I upvote your idea. RSK is a great development!

I can help you setup the docker part of it if you guide me to where the RSKj containers are defined.

@Goro2030
Copy link

Goro2030 commented May 29, 2021

I've found it on their site :)

But I think it would be too heavy ( runs on Java ) for a Raspberry Pi ... you can try it though, but according to RSK, the minimum requirements are:

  • 2 cores
  • 8 GB RAM
  • 50 GB storage (that you'll have to map to your external storage somewhere)

To do so, once your Umbrel boots, connect to it using SSH, create a directory (let's call it RSK, and cd there) and run:

curl https://raw.githubusercontent.com/rsksmart/artifacts/master/Dockerfiles/RSK-Node/Dockerfile.MainNet --output Dockerfile.MainNet

Then, you need to generate the image, by running:
(BTW: The image is not optimized AT ALL, RSK could do much better here ... i.e. it uses a full 70 MB Ubuntu image for it!)

docker build -t mainnet -f Dockerfile.MainNet .

Then you can run it:

docker run -d --name mainnet-node-01 -p 4444:4444 -p 5050:5050 mainnet

You can see if it's working using "docker ps" and see how much is consuming using "docker stats"

I didn't try to compile it, so if you do that, please let me know how it went. It's Java-based, so I guess it will compile on ARM.

@Goro2030
Copy link

Confirmed: RSK won't run on a PI, but it will run on Docker on a PC ( AMD64 ), so if you run it on a PC, you can give it a try! I compiled its image, and it's running ... taking up 1 GB of RAM and 25% of 2 cores on a Ryzen 7 👍

@AaronDewes
Copy link

Confirmed: RSK won't run on a PI

Have you tried this?

I can help you setup the docker part of it if you guide me to where the RSKj containers are defined.

https://github.com/getumbrel/umbrel/blob/master/apps/README.md

The images need to be on Docker Hub to be packaged for Umbrel

@Goro2030
Copy link

Confirmed: RSK won't run on a PI

Have you tried this?

I can help you setup the docker part of it if you guide me to where the RSKj containers are defined.

https://github.com/getumbrel/umbrel/blob/master/apps/README.md

The images need to be on Docker Hub to be packaged for Umbrel

Thanks for the link @AaronDewes . Since this application does not run on ARM, there's no point in creating an APP for it at this point.

I'd close this ISSUE.

@AaronDewes
Copy link

Since this application does not run on ARM

Have you tried doing so? The Docker container should build fine

@Goro2030
Copy link

Yes, I tried and built the whole docker image. But the RSK people do not have an architectural candidate for ARM in their repository (ppa), so it doesn't finish building. Ence my statement that "it doesn't work on ARM". It works on Linux though.

@royalgarter
Copy link
Author

royalgarter commented Jun 11, 2021

Yes, I tried and built the whole docker image. But the RSK people do not have an architectural candidate for ARM in their repository (ppa), so it doesn't finish building. Ence my statement that "it doesn't work on ARM". It works on Linux though.

Same with me. Tried to using prebuild RSK image but it said "it doesn't work on ARM". Maybe self built RSK from source will do. But it will take more time to try it.

@notleanbarba
Copy link

Hi community,

Last week, I learned about RSK and their features and totally amazed. I was learning to add a RSKj docker to current Umbrel Node via Docker, but it's not done yet. So a shower thought that do you guys think about adding RSKj to Umbrel in the future?

I guess umbrel should be developed based on bitcoin and not another sidechain.

@Goro2030
Copy link

I propose the maintainers close this "OPEN" issue, as it's not an Issue, but a feature request not aligned with Umbrel's purpose.

@lukechilds
Copy link
Member

I think it's ok to keep this issue open. We're definitely open to the idea of someone packaging an RSK node for Umbrel.

@Goro2030
Copy link

OK, if that's what you want, let's do that. I've opened a feature request with my friends at RSK.

rsksmart/rskj#1565

@nmfretz nmfretz transferred this issue from getumbrel/umbrel May 29, 2023
@nmfretz nmfretz changed the title Feature request - Adding Rootstock RSKj fullnode to Umbrel [App Request] - Rootstock RSKj node Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants