You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a couple of reasons why it would be useful to have a way to access SAFE Network status through the SAFE Drive UI.
One is to provide a way to access the last SAFE Drive operation failure that was related to SAFE Network access, such as an important error like insufficient account balance.
Although there are alternative ways of the user checking SAFE Network status, such as the SAFE Browser itself, it may also be useful for programs such as a bash shell script to obtain account balance, connection status etc by accessing a file and parsing the content.
So there are a couple of reasons for implementing a way for shell scripts, or the user herself, to use command line operations such as cat file to access SAFE network status, as if it were in a file or files. These would not be real files, but would appear to exists as files for file system operations (e.g. cat file), and it would be necessary to prevent real files being created that clashed with them.
This could be implemented as a single file in the root (e.g. .safeStatus.txt), or as several files within a folder (e.g. .safeStatus/account-balance.txt, .safeStatus/connection-status.txt etc). I think a combination might be useful, especially if the request can be in different formats (such as text, RDF/Turtle, JSON, HTML etc.) by specifying different file extensions.
Please use this issue propose or provide feedback on what's needed and how to implement it.
There are a couple of reasons why it would be useful to have a way to access SAFE Network status through the SAFE Drive UI.
One is to provide a way to access the last SAFE Drive operation failure that was related to SAFE Network access, such as an important error like insufficient account balance.
Although there are alternative ways of the user checking SAFE Network status, such as the SAFE Browser itself, it may also be useful for programs such as a bash shell script to obtain account balance, connection status etc by accessing a file and parsing the content.
So there are a couple of reasons for implementing a way for shell scripts, or the user herself, to use command line operations such as
cat file
to access SAFE network status, as if it were in a file or files. These would not be real files, but would appear to exists as files for file system operations (e.g.cat file
), and it would be necessary to prevent real files being created that clashed with them.This could be implemented as a single file in the root (e.g.
.safeStatus.txt
), or as several files within a folder (e.g..safeStatus/account-balance.txt, .safeStatus/connection-status.txt
etc). I think a combination might be useful, especially if the request can be in different formats (such as text, RDF/Turtle, JSON, HTML etc.) by specifying different file extensions.Please use this issue propose or provide feedback on what's needed and how to implement it.
See also #7
The text was updated successfully, but these errors were encountered: