Step 1: Download & Unzip Executable Pack
magnachain.exe：The core program that runs is commonly known as the magnachain core. It is also the execution program that must be started first.
magnachain-cli.exe: A full-featured RPC client, including query blocks, transaction information, and more.
The directory should look similar to the below screenshot, although your version may be different.
Step 2: Create a new configuration file magnachain.conf
Create a new magnachain.conf in a custom directory (eg D:\data\), as shown below:
port=8099 # Listening port, the default (not set) : 8833 rpcport=9201 # rpc call port rpcuser=user # rpc user name rpcpassword=pwd # rpc password
Step 3: Start the MagnaChain local node
In the cmd life mode, enter the MagnaChain project directory and execute the following command:
magnachain.exe -datadir=D:\data -regtest=1
Step 4: Use magnachain-cli to call RPC command
Check whether the node is successful by using the getinfo command:
magnachain-cli.exe -datadir=D:\data -regtest=1 getinfo
Note: If running magnachain.exe fails, please run vc_redist.x86.exe