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
# Set variables in .bashrc file | |
# don't forget to change your path correctly! | |
export GOPATH=$HOME/golang | |
export GOROOT=/usr/local/opt/go/libexec | |
export PATH=$PATH:$GOPATH/bin | |
export PATH=$PATH:$GOROOT/bin |
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
{ | |
"tx": { | |
"body": { | |
"messages": [ | |
{ | |
"@type": "/ibc.applications.nft_transfer.v1.MsgTransfer", | |
"source_port": "nft-transfer", | |
"source_channel": "channel-24", | |
"class_id": "onftdenom5f02ff7f06354058bdbb5cb7f5e75145", | |
"token_ids": [ |
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
contract CW20Base { | |
error InvalidZeroAmount() | |
error Unauthorized() | |
event Transfer(sender: Addr, recipient: Addr, amount: u64) | |
event Burn(sender: Addr, amount: u64) | |
event Mint(minter: Addr, recipient: Addr, amount: u64) | |
event Send(sender: Addr, contract: Addr, amount: u64) |
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
const { Server } = require("ws"); | |
const { CosmWasmClient } = require("@cosmjs/cosmwasm-stargate"); | |
const axios = require("axios"); | |
const client = axios.create({}); | |
const sockserver = new Server({ port: 443 }); | |
const fs = require("fs"); | |
console.log("Server started"); | |
sockserver.on("connection", async (ws) => { |
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
name: Contracts CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
inputs: | |
run_build: |
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
# The root query type which gives access points into the data universe. | |
type Query implements Node { | |
# Exposes the root query type nested one level down. This is helpful for Relay 1 | |
# which can only query top level fields if they are in a particular form. | |
query: Query! | |
# The root query type must be a `Node` to work well with Relay 1 mutations. This just resolves to `query`. | |
nodeId: ID! | |
# Fetches an object given its globally unique `ID`. |
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
[ | |
{ | |
"asset_infos": [ | |
{ | |
"token": { | |
"contract_addr": "juno1qsrercqegvs4ye0yqg93knv73ye5dc3prqwd6jcdcuj8ggp6w0us66deup" | |
} | |
}, | |
{ | |
"native_token": { |
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
[ | |
{ | |
"Domain": "Domain", | |
"Rank": "Rank", | |
"Hosting Provider": "Hosting Provider", | |
"Mail Provider": "Mail Provider" | |
}, | |
{ | |
"Domain": "store.shimmer.network", | |
"Rank": "2,009,816", |
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
curl -qs 'https://akash.c29r3.xyz/api/akash/provider/v1beta2/providers'\ | |
'?pagination.limit=1337&pagination.count_total=true' \ | |
-H 'Connection: keep-alive' \ | |
-H 'Accept: application/json, text/plain, */*' \ | |
| tee 'akash_providerz.json' \ | |
| jq -cr ".providers[].host_uri" | |
# Lets scan'em ;-) #unixpipegang #ibcgang #decentralizeit | |
curl -qs 'https://akash.c29r3.xyz/api/akash/provider/v1beta2/providers'\ |
NewerOlder