Skip to content

Instantly share code, notes, and snippets.

View t8's full-sized avatar
🎯
Focusing

Tate Berenbaum t8

🎯
Focusing
View GitHub Profile
@samcamwilliams
samcamwilliams / Physical-Asset-NFT.js
Created January 8, 2021 03:22
A Verto-compatible SmartWeave contract for trading physical assets.
export function handle (state, action) {
const owner = state.owner
const input = action.input
const caller = action.caller
const contact = action.contact
if (input.function === 'transfer') {
const target = input.target
if (!target || (caller === target)) {
@artob
artob / links.md
Last active November 12, 2020 07:00
Links for my 2020-11-11 presentation
@CDDelta
CDDelta / ethereum-arweave-bridge.md
Last active April 15, 2023 22:59
Ethereum -> Arweave Bridge Draft Proposal

Ethereum -> Arweave Bridge

Status: Draft

Abstract

This document describes a possible implementation for an Ethereum to Arweave bridge that allows Ethereum smart contracts to create Arweave transactions. Note, this does not involve bridging the AR token onto Ethereum.

Motivation

@TheLoneRonin
TheLoneRonin / ARWEAVE.GQL.MD
Last active December 11, 2023 13:18
Arweave Query Guide

Arweave GraphQL Guide

Retrieving Data

In order to retrieve data from Arweave, you can use the following example query to retrieve the entire transaction output.

query {
    transactions {
        cursor
@niespodd
niespodd / package.json
Last active May 8, 2023 09:07
Making web3/bitcore-lib work with Angular 6-11 and >=11
{...
"scripts": {
"postinstall": "node patch.js",
...
}
}