Skip to content

Instantly share code, notes, and snippets.

View HashWarlock's full-sized avatar
👾
bits bending

Joshua W HashWarlock

👾
bits bending
View GitHub Profile
@HashWarlock
HashWarlock / Dockerfile
Last active November 16, 2024 21:23
Docker Success Build
# Base image extends rust:nightly which extends debian:buster-slim
FROM rustlang/rust:nightly as build
# Install necessary build dependencies, including protoc
RUN apt-get update && apt-get install -y \
libssl-dev \
libsqlite3-dev \
libudev-dev \
pkg-config \
protobuf-compiler && \
@HashWarlock
HashWarlock / index.ts
Created September 18, 2024 09:19
Hacker Guide
import '@phala/wapo-env'
import { Hono } from 'hono/tiny'
import { html, raw } from 'hono/html'
import { handle } from '@phala/wapo-env/guest'
export const app = new Hono()
app.get('/', (c) => {
return c.html(
html`
@HashWarlock
HashWarlock / Phala-Hackathon-Guide.md
Last active September 19, 2024 19:04
Phala Hackathon Guide

Phala Hackathon Guide at ETHGlobal Singapore

Welcome to the Phala Hackathon Guide! This guide will provide you with all the necessary information to get started building on our platform. Whether you're a seasoned developer or new to the ecosystem, this guide will help you navigate through the essential steps and resources for build on Phala's Agent Contract.

Check out the an Agent Contract we deployed called the TEE Cheat Sheet!

If you want to know how to host HTML pages with hono, check out the Agent Contract template here.

Table of Contents

@HashWarlock
HashWarlock / ai-agent-contract-consensus-hackathon.md
Last active May 15, 2024 00:03
Phala Network Consensus 2024 Hackthon

Phala Network Consensus 2024 Hackathon Bounties

Bounty of $2,000 in Prizes (Up to 3 Winners)

(1x $1000, 1x $500) Build an AI Agent Contract for a popular Web3 Service

Ideas:

@HashWarlock
HashWarlock / test-your-phat-fn.md
Last active September 7, 2023 21:15
Codename Phat Functions: Build and Test Your First Function Locally Tutorial

Build and Test Your First Function Locally Tutorial

Author: Joshua Waller

This tutorial is based on Phala Network’s new feature product codename: Phat Function.

By the end of the tutorial you will be able to:

  • Generate a generic LensAPI Oracle Template using the @phala/fn CLI tool.
@HashWarlock
HashWarlock / devdao_phat_fn.md
Last active September 28, 2023 04:56
DeveloperDAO Phat Functions Workshop Resources

Phat Contract Polygon DevX Hackathon Resources

😵 Ever feel like you don't have enough resources?

🏈 Did your team lose the big sports ball ⚾ game Sunday night? 🏀

Sporty Losing It All

🦾 Fear not, here is some hope from yours truly, 🔌 ⚡ @hashwarlock, to provide you with hope & give you the resources to build the "first-of-its-kind" types of products on Phala Network.

@HashWarlock
HashWarlock / devdao-lensapi-oracle-workshop-resources.md
Last active August 22, 2023 20:51
DeveloperDAO LensAPI Oracle Workshop Resources
This gist is owned by address: 0x9441ad0000172f3cfaa1b6050fc82800b4f5974854fbd23ac18b8a281b637c78
This gist is owned by address: 0x9441ad0000172f3cfaa1b6050fc82800b4f5974854fbd23ac18b8a281b637c78
This gist is owned by address: 0x9441ad0000172f3cfaa1b6050fc82800b4f5974854fbd23ac18b8a281b637c78