17 lines
531 B
Bash
Executable File
17 lines
531 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Generate test lockups on Solana to be executed on Ethereum
|
|
|
|
# Constants (hardcoded)
|
|
bridge_address=Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o
|
|
recipient_address=90F8bf6A479f320ead074411a4B0e7944Ea8c9C1
|
|
chain_id_ethereum=2
|
|
|
|
# Generated by devnet_setup.sh with seed
|
|
account=3C3m4tjTy4nSMkkYdqCDSiCWEgpDa6whvprvABdFGBiW
|
|
token=6qRhs8oAuZYLd4zzaNnQHqdRyknrQQWDWQhALEN8UA7M
|
|
|
|
while : ; do
|
|
cli lock "$bridge_address" "$account" "$token" 1000000000 "$chain_id_ethereum" "$RANDOM" "$recipient_address"
|
|
sleep 5
|
|
done
|