#add config file
sudo echo "[Unit]
Description=Randdrop
After=network.target
[Service]
Environment=NODE_ENV=production
This file contains hidden or 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
[global] | |
log_level = 'info' | |
[mode] | |
[mode.clients] | |
enabled = true | |
refresh = true | |
misbehaviour = false | |
[mode.connections] | |
enabled = false |
This file contains hidden or 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
import subprocess | |
import yaml | |
import json | |
def query_data(config): | |
# Run the command and parse its output as YAML | |
command1 = f'noisd query wasm contract-state smart {config["wasm_contract_address"]} \'{{"customers":{{}}}}\' --chain-id={config["chain_id"]} --node={config["node_url"]}' | |
output1 = subprocess.check_output(command1, shell=True) | |
data1 = yaml.safe_load(output1) |
This file contains hidden or 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
[ | |
{ | |
"address": "aura1pqlh09f0zhszyaaq57ndf8djap4suth2hvl430", | |
"amount": 5777433575 | |
}, | |
{ | |
"address": "aura1uy37amtk48mzdadlwp4t2jrgkacx2nu68mtl7c", | |
"amount": 5777433575 | |
}, | |
{ |
This file contains hidden or 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
Winners: | |
juno17fzx4rvw04586s8f2c2vv53pe3yypu0ccu566q | |
juno1932p8lwv65z7wyh2jnw7sqshuldhynm6zrqrs6 | |
juno1ecm4arzfxnw2hy44vmr4kmkxh8vfhjl8pyjf4c | |
juno1jtzmwppdadmyhv6j68dujwghrp8gkr8s59p5gl | |
juno1p6763cacd9xxznfy9ynn3wf6mdp6hgrk8qh0d6 | |
juno1s33zct2zhhaf60x4a90cpe9yquw99jj0zen8pt | |
juno1ufkn6a3lxswk8ekcz5gzpfk4pasncq4sxj9pe4 | |
juno1n8wrmsa58765ck0phxq93etk3g0wtzwq5qtydv | |
juno1z23gy5wmhmeq2v349hzfy7ndq9jfq3k0z9zqhz |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
[ | |
{ | |
"address": "juno190g5j8aszqhvtg7cprmev8xcxs6csra7xnk3n3", | |
"amount": 5872713911 | |
}, | |
{ | |
"address": "juno1zjpfewdsdykrgce8d20lfanhh6evufxeyya4fyepjs9lh57tv3jqrutwt0", | |
"amount": 5872713911 | |
}, | |
{ |
This file contains hidden or 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
{ | |
"title":"Nois proxy beacon price change", | |
"summary":"Nois proxy beacon price change - more info in this commonwealth post https://commonwealth.im/injective/discussion/14153-decrease-the-beacon-price-for-injective-noisproxy", | |
"messages":[ | |
{ | |
"msg":{"set_config":{"nois_beacon_price":"1000000","prices":[{"denom":"ibc/DD9182E8E2B13C89D6B4707C7B43E8DB6193F9FF486AFA0E6CF86B427B0D231A","amount":"1000000"}]}}, | |
"@type":"/cosmwasm.wasm.v1.MsgSudoContract", | |
"authority":"inj10d07y265gmmuvt4z0w9aw880jnsr700jstypyt", | |
"contract":"inj1w9g3sk7lk8k0pdtctygupt6f3te7x4thvzz57a" |
This file contains hidden or 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
{ | |
"name": "kais", | |
"website": "https://google.com", | |
"description": "blabal", | |
"logo": "https://raw.githubusercontent.com/Lagrange-Labs/worker/main/Lagrange.png", | |
"twitter": "https://x.com/kais_kat" | |
} |
python3 lagrange-fix-blocks.py prod-distributed-query 20030470 20030500 ./s3-blob-test AdministratorAccess-905418166352
import boto3
import argparse
import os
import json
import shutil
This file contains hidden or 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
## start server gateway-grpc-dev-1-distributed-query.dev.distributed-query.io | |
server { | |
server_name gateway-grpc-dev-1-distributed-query.dev.distributed-query.io ; | |
http2 on; | |
listen 80 ; | |
listen [::]:80 ; | |
listen 443 ssl; | |
listen [::]:443 ssl; |
OlderNewer