Entangle transforms liquidity provision and subsequent rewards into an accessible and pleasant experience setting the foundation for improving user adoption. Entangle achieves this through a user friendly interface of a limit-order-book DEX called "Internal DEX", where users can exchange between USDC and Liquid Vaults (Liquid Staking Derivatives of cross-chain Liquidity Provisioning Assets). Cross-chain functionality is a core component of DeFi which Entangle simplifies so scalable, trustless transactions can supplement interactivity.
entangled keys add
entangled keys add --recover
entangled keys list
entangled keys delete
entangled keys export
entangled keys import .backup
entangled q bank balances $(entangled keys show -a)
sudo journalctl -u entangled -f --no-hostname -o cat
sudo systemctl start entangled
sudo systemctl stop entangled
sudo systemctl restart entangled
sudo systemctl status entangled
sudo systemctl daemon-reload
sudo systemctl enable entangled
sudo systemctl disable entangled
entangled status 2>&1 | jq .SyncInfo
echo $(entangled tendermint show-node-id)'@'$(curl -s ifconfig.me)':'$(cat $HOME/.entangled/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
curl -sS http://localhost:657/net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' | awk -F ':' '{print $1":"$(NF)}'
entangled tx staking create-validator \
--amount=000000000000000000aNGL \
--moniker="" \
--pubkey=$(entangled tendermint show-validator) \
--identity="" \
--details="" \
--website="" \
--security-contact= \
--chain-id= \
--commission-rate=0. \
--commission-max-rate=0.20 \
--commission-max-change-rate=0. \
--min-self-delegation=1 \
--from= \
--gas="1000000" \
--gas-prices="30000000000aNGL"
entangled tx staking edit-validator \
--new-moniker="" \
--chain-id= \
--from= \
--gas="1000000" \
--gas-prices="30000000000aNGL" -yentangled tx staking edit-validator \
--identity="" \
--chain-id= \
--from= \
--gas="1000000" \
--gas-prices="30000000000aNGL"entangled tx staking edit-validator \
--details="" \
--chain-id= \
--from= \
--gas="1000000" \
--gas-prices="30000000000aNGL"entangled tx staking edit-validator \
--commission-rate=0. \
--chain-id= \
--from= \
--gas="1000000" \
--gas-prices="30000000000aNGL"entangled tx staking edit-validator \
--new-moniker="" \
--identity="" \
--chain-id= \
--from= \
--gas="1000000" \
--gas-prices="30000000000aNGL"entangled tx staking edit-validator \
--new-moniker="" \
--details="" \
--chain-id= \
--from= \
--gas="1000000" \
--gas-prices="30000000000aNGL"entangled tx staking edit-validator \
--new-moniker="" \
--commission-rate=0. \
--chain-id= \
--from= \
--gas="1000000" \
--gas-prices="30000000000aNGL"entangled tx staking edit-validator \
--identity="" \
--details="" \
--chain-id= \
--from= \
--gas="1000000" \
--gas-prices="30000000000aNGL"entangled tx staking edit-validator \
--identity="" \
--commission-rate=0. \
--chain-id= \
--from= \
--gas="1000000" \
--gas-prices="30000000000aNGL"entangled tx staking edit-validator \
--details="" \
--commission-rate=0. \
--chain-id= \
--from= \
--gas="1000000" \
--gas-prices="30000000000aNGL"entangled tx staking edit-validator \
--new-moniker="" \
--identity="" \
--details="" \
--chain-id= \
--from= \
--gas="1000000" \
--gas-prices="30000000000aNGL"entangled tx staking edit-validator \
--new-moniker="" \
--identity="" \
--commission-rate=0. \
--chain-id= \
--from= \
--gas="1000000" \
--gas-prices="30000000000aNGL"entangled tx staking edit-validator \
--new-moniker="" \
--details="" \
--commission-rate=0. \
--chain-id= \
--from= \
--gas="1000000" \
--gas-prices="30000000000aNGL"entangled tx staking edit-validator \
--identity="" \
--details="" \
--commission-rate=0. \
--chain-id= \
--from= \
--gas="1000000" \
--gas-prices="30000000000aNGL"entangled tx staking edit-validator \
--new-moniker="" \
--identity="" \
--details="" \
--commission-rate=0. \
--chain-id= \
--from= \
--gas="1000000" \
--gas-prices="30000000000aNGL"entangled tx staking edit-validator \
--new-moniker="" \
--identity="" \
--details="" \
--website="" \
--security-contact= \
--chain-id= \
--commission-rate=0. \
--from= \
--gas="1000000" \
--gas-prices="30000000000aNGL"
entangled status 2>&1 | jq .ValidatorInfo
entangled q staking validator $(entangled keys show --bech val -a)
entangled q slashing signing-info $(entangled tendermint show-validator)
entangled tx slashing unjail --broadcast-mode=block --from --chain-id --gas="1000000" --gas-prices="30000000000aNGL"
entangled q staking validators -oj --limit=2000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " " + .description.moniker' | sort -gr | nl
[[ $(entangled q staking validator $(entangled keys show --bech val -a) -oj | jq -r .consensus_pubkey.key) = $(entangled status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"
entangled q slashing signing-info $(entangled tendermint show-validator)
entangled tx distribution withdraw-all-rewards --from --chain-id --gas="1000000" --gas-prices="30000000000aNGL"
entangled tx distribution withdraw-rewards $(entangled keys show --bech val -a) --commission --from --chain-id --gas="1000000" --gas-prices="30000000000aNGL"
entangled tx staking delegate $(entangled keys show --bech val -a) 000000000000000000aNGL --from --chain-id --gas="1000000" --gas-prices="30000000000aNGL"
entangled tx staking redelegate $(entangled keys show --bech val -a) 000000000000000000aNGL --from --chain-id --gas="1000000" --gas-prices="30000000000aNGL"
entangled tx staking delegate 000000000000000000aNGL --from --chain-id --gas="1000000" --gas-prices="30000000000aNGL"
entangled tx staking unbond $(entangled keys show --bech val -a) 000000000000000000aNGL --from --chain-id --gas="1000000" --gas-prices="30000000000aNGL"
entangled tx bank send 000000000000000000aNGL --from --chain-id --gas="1000000" --gas-prices="30000000000aNGL"
entangled query gov proposal
entangled tx gov vote --from --chain-id --gas="1000000" --gas-prices="30000000000aNGL"
CUSTOM_PORT=
sed -i.bak -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:${CUSTOM_PORT}658\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:${CUSTOM_PORT}657\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:${CUSTOM_PORT}060\"%; s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:${CUSTOM_PORT}656\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":${CUSTOM_PORT}660\"%" $HOME/.entangled/config/config.toml
sed -i.bak -e "s%^address = \"tcp://0.0.0.0:1317\"%address = \"tcp://0.0.0.0:${CUSTOM_PORT}317\"%; s%^address = \":8080\"%address = \":${CUSTOM_PORT}080\"%; s%^address = \"0.0.0.0:9090\"%address = \"0.0.0.0:${CUSTOM_PORT}090\"%; s%^address = \"0.0.0.0:9091\"%address = \"0.0.0.0:${CUSTOM_PORT}091\"%; s%^address = \"127.0.0.1:8545\"%address = \"0.0.0.0:${CUSTOM_PORT}545\"%; s%^ws-address = \"127.0.0.1:8546\"%ws-address = \"0.0.0.0:${CUSTOM_PORT}546\"%" $HOME/.entangled/config/app.toml
sed -i -e 's|^indexer *=.*|indexer = "kv"|' $HOME/.entangled/config/config.toml
sed -i -e 's|^indexer *=.*|indexer = "null"|' $HOME/.entangled/config/config.toml
entangled tendermint unsafe-reset-all --home $HOME/.entangled --keep-addr-book
sudo systemctl stop entangled && \
sudo systemctl disable entangled && \
rm /etc/systemd/system/entangled.service && \
sudo systemctl daemon-reload && \
cd $HOME && \
rm -rf .entangled && \
rm -rf $(which entangled)
wget -O $HOME/.entangled/config/genesis.json "https://raw.githubusercontent.com/kynraze/service/main/testnet/entangle/genesis.json"
wget -O $HOME/.entangled/config/addrbook.json "https://snap.kynraze.com/test/entangle/addrbook.json"
PEERS=
sed -i -e "s|^persistent_peers *=.*|persistent_peers = "$PEERS"|" $HOME/.entangled/config/config.toml
Coming Soon
wget -O snapshot-
entangle.sh
https://raw.githubusercontent.com/kynraze/service/main/testnet/entangle/auto-snapshot.sh&& chmod +x snapshot-
entangle.sh && ./snapshot-
entangle.sh
ENTANGLE
_NODENAME="
"
echo "export
ENTANGLE_NODENAME=$ENTANGLE_NODENAME" >> $HOME/.bash_profile
if [ ! $WALLET ]; then
echo "export WALLET=wallet" >> $HOME/.bash_profile
fi
echo "export
ENTANGLE_CHAIN_ID=" >> $HOME/.bash_profile
source $HOME/.bash_profile
sudo apt update && sudo apt upgrade -y && sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y
ver="
1.20"
cd $HOME
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"
rm "go$ver.linux-amd64.tar.gz"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile
source ~/.bash_profile
go version
git clone https://github.com/Entangle-Protocol/entangle-blockchain.git cd entangle-blockchain make install
entangled version
--long
CUSTOM_PORT=
sed -i.bak -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:${CUSTOM_PORT}658\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:${CUSTOM_PORT}657\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:${CUSTOM_PORT}060\"%; s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:${CUSTOM_PORT}656\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":${CUSTOM_PORT}660\"%"
$HOME/.entangled/config/config.tomlsed -i.bak -e "s%^address = \"tcp://0.0.0.0:1317\"%address = \"tcp://0.0.0.0:${CUSTOM_PORT}317\"%; s%^address = \":8080\"%address = \":${CUSTOM_PORT}080\"%; s%^address = \"0.0.0.0:9090\"%address = \"0.0.0.0:${CUSTOM_PORT}090\"%; s%^address = \"0.0.0.0:9091\"%address = \"0.0.0.0:${CUSTOM_PORT}091\"%
; s%^address = \"127.0.0.1:8545\"%address = \"0.0.0.0:${CUSTOM_PORT}545\"%; s%^ws-address = \"127.0.0.1:8546\"%ws-address = \"0.0.0.0:${CUSTOM_PORT}546\"%
"
$HOME/.entangled/config/app.toml
entangled config chain-id $ENTANGLE_CHAIN_ID entangled config keyring-backend file entangled config node tcp://localhost:657
entangled init $ENTANGLE_NODENAME
--chain-id
$ENTANGLE_CHAIN_ID
wget -O $HOME/.entangled/config/genesis.json "https://raw.githubusercontent.com/kynraze/service/main/testnet/entangle/genesis.json"
wget -O $HOME/.entangled/config/addrbook.json "https://snap.kynraze.com/test/entangle/addrbook.json"
PEERS="
"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/
.entangled/config/config.tomlsed -i -e "s|^seeds *=.*|seeds = \"
\"|" $HOME/
.entangled/config/config.toml
pruning="custom"
pruning_keep_recent="100"
pruning_keep_every="0"
pruning_interval="10"
sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/
.entangled/config/app.tomlsed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/
.entangled/config/app.tomlsed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/
.entangled/config/app.tomlsed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/
.entangled/config/app.toml
sudo tee /etc/systemd/system/
entangled.service > /dev/null << EOF
[Unit]
Description=
entangledAfter=network-online.target
[Service]
User=$USER
ExecStart=$(which
entangled)start --home $HOME/
.entangledRestart=on-failure
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
curl -o - -L
https://snap.kynraze.com/test/entangle/snapshot-latest.tar.lz4| lz4 -c -d - | tar -x -C $HOME/
.entangled
sudo systemctl daemon-reload
sudo systemctl enable
entangledsudo systemctl restart
entangledsudo journalctl -fu
entangled-o cat
# Update & install lz4(Required)
sudo apt install snapd lz4 -y
# Reset Chain Data
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" $HOME/.entangled/config/config.toml
sudo systemctl stop entangled
cp $HOME/.entangled/data/priv_validator_state.json $HOME/.entangled/priv_validator_state.json.backup
rm -rf $HOME/.entangled/data
# Download Data Snapshot
curl -o - -L https://snap.kynraze.com/test/entangle/snapshot-latest.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.entangled
mv $HOME/.entangled/priv_validator_state.json.backup $HOME/.entangled/data/priv_validator_state.json
# Restart
sudo systemctl restart entangled
sudo journalctl -fu entangled -o cat
systemctl stop entangled
entangled tendermint unsafe-reset-all --home $HOME/.entangled --keep-addr-book
STATE_SYNC_RPC=""
LATEST_HEIGHT=$(curl -s $STATE_SYNC_RPC/block | jq -r .result.block.header.height) \
SYNC_BLOCK_HEIGHT=$(($LATEST_HEIGHT - 2000)) \
SYNC_BLOCK_HASH=$(curl -s "$STATE_SYNC_RPC/block?height=$SYNC_BLOCK_HEIGHT" | jq -r .result.block_id.hash)
echo $LATEST_HEIGHT $SYNC_BLOCK_HEIGHT $SYNC_BLOCK_HASH
PEERS=""
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.entangled/config/config.toml
sed -i.bak -e "s|^enable *=.*|enable = true|" $HOME/.entangled/config/config.toml
sed -i.bak -e "s|^rpc_servers *=.*|rpc_servers = \"$STATE_SYNC_RPC,$STATE_SYNC_RPC\"|" \
$HOME/.entangled/config/config.toml
sed -i.bak -e "s|^trust_height *=.*|trust_height = $SYNC_BLOCK_HEIGHT|" \
$HOME/.entangled/config/config.toml
sed -i.bak -e "s|^trust_hash *=.*|trust_hash = \"$SYNC_BLOCK_HASH\"|" \
$HOME/.entangled/config/config.toml
systemctl restart entangled && journalctl -fu entangled -o cat