Before using the CYFS system, you must bind the DID to the OOD and the CYFS browser. Here are a few ways to bind the DID.
This is our recommended method, suitable for all kinds of OOD, easy to operate
- Install CyberChat and create an DID: From download.md or the CYFS official website cyfs.com, download CyberChat and install it. After installation, open CyberChat and follow the prompts to create an DID.
- Bind OOD: Install OOD first, binary from the official website, or OOD compiled by yourself. After installation:
- If the OOD and the CyberChat are in the same LAN, you can use the super feed's scan binding function to bind directly
- If OOD and ood are not in the same local area network, first make sure that port 1325 of the OOD machine can be accessed by ood. After executing
./ood-installer --bindon OOD, use CyerChat to scan the QR Code in terminal to bind.
- Bind the runtime: Install the CYFS browser, then open the browser, and use the QR code in the CyberChat to scan the webpage to bind
This binding method does not require a mobile phone or scan code, just a PC can be done
Note: The DID generated in this way cannot be imported into CyberChat, and you cannot use CyberChat to continue to manage DID in the future.
- Install cyfs-tool: use the command line
npm i -g cyfs-tool-nightlyto install the nightly version of the cyfs-tool tool - Generating sets of identities
Use the command
cyfs desc -s <save_path>to generate a matching DID desc file and save it in the save_path directory. If save_path is not specified, it defaults to ~/.cyfs_profile - Bind OOD
After the DID desc is generated, copy the two files
<save_path>/ood.descand<save_path>/ood.secto${cyfs_root}/etc/descon the OOD machine and rename it todevice. descanddevice.sec - Bind CYFS browser
After the DID is generated, copy the two files
<save_path>/runtime.descand<save_path>/runtime.secto${cyfs_runtime_root}/etc/descon the CYFS browser machine and rename them todevice.descanddevice.sec
${cyfs_runtime_root} specific path:
- Windows:
%appdata%/cyfs - Mac OS:
~/Library/Application Support/cyfs