Complete operation process for the first release of RelayApp:
Use the create command to create RelayApp.
create
Use the import command to import release certificate.
import
Place the RelayApp project folder and {RelayAppAddress}.config at the same-level directory.
{RelayAppAddress}.config
Use the sign command for signing.
sign
Use the check command to verify the project.
check
Use the publish command to release to the network.
publish
When updating an already published RelayApp, follow these steps:
Move the new RelayApp project to the same-level directory as {RelayAppAddress}.config.
Edit the config.json file:
config.json
Update the version field (keep version numbers incrementing from low to high).
version
Modify other optional configuration items (name, about, category, upgradeItem, etc.).
name
about
category
upgradeItem
Execute the publishing process: sign → check → publish.
Operation process for publishing using Agent:
Prerequisites:
RelayApp project has been created (using the create command).
Release certificate has been imported (using the import command).
Use the agent command to create Agent.
agent
Master uses the approve command to assign publishing permissions to the Agent.
approve
Use the authorized command to confirm authorization status.
authorized
Use the sign command for digital signature.
Agent uses their own password to execute the publish command for publishing.
Subsequent Management:
The Master can revoke or extend Agent authorization at any time using the approve command.