Crossfi

Manual Installation

sudo rm -rf /usr/local/go
wget https://go.dev/dl/go1.20.5.linux-amd64.tar.gz
tar xf go1.20.5.linux-amd64.tar.gz
rm "go1.20.5.linux-amd64.tar.gz"
sudo mv go /usr/local/go
go version

If you have installed go before

echo "export PATH=$PATH:/usr/local/go/bin:~/go/bin" >> $HOME/.bashrc
source ~/.bashrc
go version

Download Binary

# download binary
cd $HOME
wget https://github.com/crossfichain/crossfi-node/releases/download/v0.3.0-prebuild3/crossfi-node_0.3.0-prebuild3_linux_amd64.tar.gz && tar -xf crossfi-node_0.3.0-prebuild3_linux_amd64.tar.gz
tar -xvf crossfi-node_0.3.0-prebuild3_linux_amd64.tar.gz
chmod +x $HOME/bin/crossfid
mv $HOME/bin/crossfid $HOME/go/bin
rm -rf crossfi-node_0.3.0-prebuild3_linux_amd64.tar.gz $HOME/bin

Setup variables

# set variables
echo "export WALLET="wallet"" >> $HOME/.bashrc
echo "export MONIKER="your-moniker"" >> $HOME/.bashrc
echo "export CROSSFI_CHAIN_ID="crossfi-evm-testnet-1"" >> $HOME/.bashrc
echo "export CROSSFI_PORT="14"" >> $HOME/.bashrc
source $HOME/.bashrc

Config and init app

# config and init app
crossfid config node tcp://localhost:${CROSSFI_PORT}657
crossfid config keyring-backend os
crossfid config chain-id crossfi-evm-testnet-1
rm -rf testnet ~/.mineplex-chain
git clone https://github.com/crossfichain/testnet.git
mv $HOME/testnet/ $HOME/.mineplex-chain/

Last updated