Skip to content

Instantly share code, notes, and snippets.

View octalmage's full-sized avatar

Jason Stallings octalmage

View GitHub Profile
@octalmage
octalmage / deploy.yaml
Created April 5, 2023 22:48
Deploy your own https://gun.eco relay node on Akash.
---
version: '2.0'
services:
gundb:
image: gundb/gun
expose:
- port: 8765
as: 80
# Uncomment to add your own domain.
# accept:
@octalmage
octalmage / war.js
Created July 13, 2023 05:33
War for JAX
class WarContract {
init({ rng }) {
storage.put("rng", rng);
storage.put("id", 1);
}
can_update() {
return blockchain.requireAuth(blockchain.contractAdmin());
}