The Matrix AI Network is a powerful public network. Private networks only have a subset of the functions available in the Matrix mainnet. However, private networks are easy and convenient for users to build by themselves. This manual describes the process to build a personal Matrix private network in the Linux centos environment.
Process
Install lrzsz.
1
yum -y install lrzsz
Import compose-gman.yaml & compose-exp.yaml with the rz command.
Installation complete, you can access gman through port 8567.
Request data using JS SDK.
1 2 3 4 5 6 7 8
//Initialization process var AIMan = require('AIMan'); if (typeof aiman !== 'undefined') { aiman = new AIMan(aiman.currentProvider); } else { // set the provider you want from AIMan.providers aiman = new AIMan(new AIMan.providers.HttpProvider("http://localhost:8567")); }