Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

Currently this does not work... #247

Open
Starlined opened this issue May 3, 2023 · 4 comments
Open

Currently this does not work... #247

Starlined opened this issue May 3, 2023 · 4 comments

Comments

@Starlined
Copy link

After following the instructions in the readme I cannot get the daemon to run.

When following the exact instructions I get this:

rgbd --data-dir ~/.rgb --bin-dir ~/.cargo/bin -vvvv --contract fungible
rgbd: RGB stash microservice
error: Found argument '--bin-dir' which wasn't expected, or isn't valid in this context

	If you tried to supply `--bin-dir` as a value rather than a flag, use `-- --bin-dir`

USAGE:
    rgbd --data-dir <DATA_DIR>

For more information try --help

This means the readme is out of date as it explicitly wants you to define the .bin directory but you simply cannot. When I change the command to try run the daemon to this:

rgbd -vvvv

I get this response:

rgbd -vvv
rgbd: RGB stash microservice
[2023-05-03T09:51:10Z DEBUG rgbd] CTL socket /Users/dom/Library/Application Support/RGB Node/ctl
[2023-05-03T09:51:10Z DEBUG rgbd] RPC socket 0.0.0.0:63963
[2023-05-03T09:51:10Z DEBUG rgbd] STORE socket 0.0.0.0:60960
[2023-05-03T09:51:10Z DEBUG rgbd] STORM socket /Users/dom/Library/Application Support/Storm Node/storm
[2023-05-03T09:51:10Z DEBUG rgbd] Starting runtime ...
[2023-05-03T09:51:10Z DEBUG rgb_node::rgbd::service] Connecting to store service at 0.0.0.0:60960
[2023-05-03T09:51:10Z DEBUG store_rpc::client] Initializing runtime

When I try to run RGB-CLI with any commands I always get:

rgb-cli contract -vvvv list
[2023-05-03T09:42:41Z DEBUG rgb_cli] RPC socket 0.0.0.0:63963
[2023-05-03T09:42:41Z DEBUG rgb_rpc::client] RPC socket 0.0.0.0:63963
[2023-05-03T09:42:41Z DEBUG rgb_rpc::client] Setting up RPC client...
[2023-05-03T09:42:41Z DEBUG microservices::esb::controller] Creating ESB session for service RGBRPC located at 0.0.0.0:63963 with identity 'client<14468753561387613070>'
[2023-05-03T09:42:41Z DEBUG rgb_rpc::client] Executing hello(signet, rgb-cli)
Error: error sending message from client<14468753561387613070> to rgbd. Details: service is offline or not responding

Any help would be appreciated

@dr-orlovsky
Copy link
Member

RGB Node is not required to work with the RGB assets anymore and is outdated at this moment. To start using RGB please check https://rgb.tech/guide/ instructions.

@atomicdomb
Copy link

@dr-orlovsky Thanks you!

@sinobeesaurav
Copy link

Suppose i need RGB node to run in background then I can do

@dr-orlovsky
Copy link
Member

@sinobeesaurav For the latest RGB version (v0.10) you do not need an RGB node. You need https://github.com/RGB-WG/rgb command-line tool.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants