This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 16AZuPjwds9YmUzPfnUw5uuCAMUZ83rD8x https://explorer.blockstack.org/address/16AZuPjwds9YmUzPfnUw5uuCAMUZ83rD8x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export USERS_NUM=10 | |
export USER0_ADDRESS="ADDR_0" | |
export USER1_ADDRESS="ADDR_1" | |
export USER2_ADDRESS="ADDR_2" | |
export USER3_ADDRESS="ADDR_3" | |
export USER4_ADDRESS="ADDR_4" | |
export USER5_ADDRESS="ADDR_5" | |
export USER6_ADDRESS="ADDR_6" | |
export USER7_ADDRESS="ADDR_7" | |
export USER8_ADDRESS="ADDR_8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!/bin/bash | |
echo "----Bash version ${BASH_VERSION}..." | |
source <(curl -s https://gist.githubusercontent.com/nzpr/ce9781316246e94d69147ca7276662d7/raw/0d5815acb984094b34003866d23001743aa55bb3/testnet_data.txt) | |
echo "----PATH populated..." | |
my_addr=$MYREVADDRESS | |
curl -s https://gist.githubusercontent.com/nzpr/5546ca2726ee39848d33541d637b557e/raw/e1476a6590b6c52b36594ffe8703bdc63a3647a9/send_rev.sh > send_rev.sh | |
#every 1 minute | |
while [ 1 ]; do | |
#send some REV to random address (from known network users) via every validator | |
for i in $( seq 1 $VALIDATORS_NUM ); do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export MYREVADDRESS="put your address here" | |
curl -s https://gist.githubusercontent.com/nzpr/bd3ac460cd454a9adb9636bedd5a4969/raw/dc55aded1798fb0c5c7938b9b1a4000d10d9bec4/letspay.sh > letspay.sh | |
chmod +x letspay.sh | |
./letspay.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
validator=$1 | |
address_from=$2 | |
address_to=$3 | |
amt=$4 | |
echo "--------Preparing script..." | |
echo "--------Sending" $amt "REV from " $address_from "to" $address_to "..." "via" $validator | |
curl -s https://raw.githubusercontent.com/rchain/rchain/dev/rholang/examples/vault_demo/3.transfer_funds.rho > payload.rho | |
sed -i 's/\%TO/'$address_to'/g' payload.rho | |
sed -i 's/\%FROM/'$address_from'/g' payload.rho |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rm $2 | |
deploy_result_path="./deploy.result" | |
i=0 | |
$RNODE --version | |
while read contract; do | |
i=$((i+1)) | |
echo $i | |
rm $deploy_result_path | |
todl1=${contract/github\.com\//raw\.githubusercontent\.com/} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rnode { | |
server { | |
synchrony-constraint-threshold = 0.0 | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new d1,d2,d3,d4,d5,d6,d7,d8,d9 in { | |
contract d1(@depth) = { | |
if (depth <= 0) { | |
Nil | |
} else { | |
d1!(depth - 1) | d1!(depth - 1) | d1!(depth - 1) | d1!(depth - 1) | d1!(depth - 1) | d1!(depth - 1) | d1!(depth - 1) | d1!(depth - 1) | d1!(depth - 1) | d1!(depth - 1) } | |
} | | |
contract d2(@depth) = { | |
if (depth <= 0) { | |
Nil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://raw.githubusercontent.com/rchain/rchain/dev/rholang/examples/dupe.rho | |
https://raw.githubusercontent.com/rchain/rchain/dev/rholang/examples/hello_world_again.rho | |
https://raw.githubusercontent.com/rchain/rchain/dev/rholang/examples/stderr.rho | |
https://raw.githubusercontent.com/rchain/rchain/dev/rholang/examples/stderrAck.rho | |
https://raw.githubusercontent.com/rchain/rchain/dev/rholang/examples/stdout.rho | |
https://raw.githubusercontent.com/rchain/rchain/dev/rholang/examples/stdoutAck.rho | |
https://raw.githubusercontent.com/rchain/rchain/dev/rholang/examples/time.rho | |
https://raw.githubusercontent.com/rchain/rchain/dev/rholang/examples/tut-bytearray-methods.rho | |
https://raw.githubusercontent.com/rchain/rchain/dev/rholang/examples/tut-hash-functions.rho | |
https://raw.githubusercontent.com/rchain/rchain/dev/rholang/examples/tut-hello-again.rho |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blockHash: "5c8d989ebc1b34e30328a339fb3efb8045d43d53d656cd56f87da0985f9382d9" | |
blockSize: "2091925" | |
blockNumber: 26 | |
version: 1 | |
deployCount: 27 | |
tupleSpaceHash: "290d9b3885cf9a2cea8e37240dfb6861a9a2c2bcb0828a6af312fa81ccedb574" | |
timestamp: 1573288592846 | |
faultTolerance: -1.0 | |
mainParentHash: "d158de56e2cdb47203b8e9f8637beaf3b1d3b2ae7b19be14f13c8e3987d593b5" | |
parentsHashList: "d158de56e2cdb47203b8e9f8637beaf3b1d3b2ae7b19be14f13c8e3987d593b5" |
OlderNewer