Skip to content

Instantly share code, notes, and snippets.

Here is describe a simple system for interacting with CosmWasm contracts without paying gas. Instead of submitting transactions to a RPC node, addresses submit a signed ExecuteMsg to a third party and that party relays those messages to the appropriate smart contract. This third party may censor but not forge messages, and messages may be submitted as regular transactions to circumvent any censorship by the third party.

Specifically...

Messages have the format:

{
	"payload": {
		"nonce": u64,
var devServerURL = "http://localhost:9000/";
var aderMode = true;
// DATABASE VERSION
function retrieveAds(adsToShow) {
//output should be: url1,url2,url3,url1
var ads = [];
var newCount;
//get counter
chrome.storage.sync.set({"adCounter":"0"});