The World's First Permissioned Blockchain Network and DeFi Protocol for Real World Assets (RWA) focusing on solar assets.
- Clone the repository
git clone https://github.com/Metaquity-Network/metaquity-network-node && cd metaquity-network-node
- Setup Rust if you don't have it yet
sh scripts/init.sh
- Build the node binary
cargo build --release
- Build a Docker image
cp target/release/ docker build -t metaquity-network .
- Export the Docker image from the build environment
docker image save metaquity-network:latest -o metaquity-network.img
- Copy the image to the server
scp metaquity-network.img $REMOTE_USER@$REMOTE_SERVER:~
- Login to the server and load the image from the build environment
ssh $REMOTE_USER@$REMOTE_SERVER docker image load -i metaquity-network.img
- Launch the collator node in container
docker run -d \ --name metaquity-network-collator \ --restart unless-stopped \ --network host \ -v metaquity-rococo-testnet-collator-data:/data \ metaquity-network:latest \ metaquity-network \ --collator \ --base-path /data \ --port 50333 \ --rpc-port 8855 \ --bootnodes /dns/3.aws.metaquity.xyz/tcp/50333/p2p/12D3KooWAXpHoi3P7B1aEmdoVYMunctQUtWJwfpbNRbpLwREQQM2 \ -- \ --chain rococo \ --port 50343 \ --rpc-port 9988