Closed jolestar closed 1 year ago
The sub-commands of mos
are related to Move, such as build
, new
, prove
, and so on. Therefore, mos server
is inappropriate. We can change the current sub-commands such as mos new
, mos build
to mos move new
, mos move build
, etc., or change mos server
to rooch server
. The choice is depending on the specific positioning of mos
.
mos client is only for MoveOS,and mos is party of Rooch,so I think mos server
is appropriate
MoveOS server should be a thread,when MoveOS handles message,it genrate an actor or channel is ok
mos
is an abbreviation for MoveOS.
mos server
provide a local move execution runtime for the developer.
Developers' usage steps can be imagined as follows:
Create a new Move project: Use the mos new
command to create a new Move project with the necessary files and directories.
Write Move code: Write the Move source code for your dapp using your preferred text editor or Move development environment.
Build and test the Move bytecode: Use the mos build
and mos test
commands to compile the Move source code into bytecode and run tests to ensure that your code functions as expected.
Start a server process: Use the mos server
command to start the server process.
Deploy the Move bytecode: Use the mos deploy
command to deploy the Move bytecode to the MoveOS and make your dapp available for use.
Execute a Move function: Use the mos run
command to execute a Move function in the server.
mos server
should start a server process in local.
mos deploy
can deploy the Move bytecode in local mos server if don't specific server, also can deploy to specified server address(e.g. Rooch Server).
mos run
is similar tomos deploy
, it needs to support default local and specified server addresses
I'd like to work on this.
I'd like to work on this.
As discussed at the last community developer meeting, We decided to make MoveOS to a pure library, and the command-line tool should be rooch
.
Like:
rooch move new
rooch move build
rooch move test
rooch server
rooch move deploy
rooch move run
I'd like to work on this.
As discussed at the last community developer meeting, We decided to make MoveOS to a pure library, and the command-line tool should be
rooch
.Like:
rooch move new rooch move build rooch move test rooch server rooch move deploy rooch move run
Ok, I'll wait for #34 .
Run MoveOS as a server.
mos server
?