In order to retrieve data from Arweave, you can use the following example query to retrieve the entire transaction output.
query {
transactions {
cursor
--- a/src/script/interpreter.cpp | |
+++ b/src/script/interpreter.cpp | |
@@ -504,6 +504,14 @@ bool EvalScript(std::vector<std::vector<unsigned char> >& stack, const CScript& | |
return set_error(serror, SCRIPT_ERR_MINIMALDATA); | |
} | |
stack.push_back(vchPushValue); | |
+ if ((flags & SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS) && opcode == OP_FALSE) { | |
+ auto pc_tmp = pc; | |
+ opcodetype next_opcode; | |
+ valtype dummy_data; |
function rectCollide() { | |
var nodes,sizes,masses; | |
var strength = 1; | |
var iterations = 1; | |
var nodeCenterX; | |
var nodeMass; | |
var nodeCenterY; | |
function force() { |
{ | |
"@context": [ | |
"https://www.w3.org/2018/credentials/v1", | |
{ | |
"sameAs": "https://www.w3.org/TR/owl-ref/#sameAs-def" | |
} | |
], | |
"issuer": "did:key:z6MkkWRMquVJsLaqsD45TYzhhDRJWJGDBx8jUkFGt6zvLc3R", | |
"issuanceDate": "2020-11-21T10:02:39.501Z", | |
"type": [ |
use deno_core::Op; | |
use deno_core::ZeroCopyBuf; | |
use deno_core::{CoreIsolate, StartupData}; | |
use std::str; | |
fn main() { | |
println!("v8 version: {}", deno_core::v8_version()); | |
let mut isolate = CoreIsolate::new(StartupData::None, false); |
You can deploy this function on any of the serverless platforms - AWS Lambda, Google Cloud Functions, Azure Functions, Netlify, Cloudflare Workers, etc.
nodemailer
to your package.json
(npm i nodemailer
), and follow your platform's instructions on bundling dependencies.clientID
, clientSecret
, and refreshToken
. Follow this YouTube tutorialGMAIL_EMAIL_ADDRESS
Note: To keep this even smaller, we're using a small helper module called the hyperswarm replicator, which wraps a few Hyperswarm setup details.
#define _GNU_SOURCE | |
#include <errno.h> | |
#include <sched.h> | |
#include <signal.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <sys/mount.h> | |
#include <sys/stat.h> | |
#include <sys/syscall.h> | |
#include <sys/types.h> |