In the chat page, open the dev console and paste this.
(() => {
function formatDate(date = new Date()) {
return date.toISOString().split('T')[0];
}
function escapeMarkdown(text) {
return textIn the chat page, open the dev console and paste this.
(() => {
function formatDate(date = new Date()) {
return date.toISOString().split('T')[0];
}
function escapeMarkdown(text) {
return text| const Arweave = require("arweave"); | |
| const { bundleAndSignData, createData, ArweaveSigner } = require("arbundles"); | |
| const fs = require("fs"); | |
| const jwk = JSON.parse(fs.readFileSync("./jwk.json", { encoding: "utf8" })); | |
| const arweave = Arweave.init({ | |
| host: "arweave.net", //arweave.dev | |
| port: 443, | |
| protocol: "https", |
This tutorial assumes you are using Sputnik DAO v2 (https://v2.sputnik.fund/)
| { | |
| "name": "asdasd" | |
| } |
| const allowCors = (fn) => async (req, res) => { | |
| res.setHeader("Access-Control-Allow-Credentials", true) | |
| res.setHeader("Access-Control-Allow-Origin", "*") | |
| res.setHeader( | |
| "Access-Control-Allow-Methods", | |
| "GET,OPTIONS,PATCH,DELETE,POST,PUT" | |
| ) | |
| res.setHeader( | |
| "Access-Control-Allow-Headers", |
| ganache-cli --fork https://mainnet.infura.io/v3/{infura_project_id}@{block_number} |
I hereby claim:
To claim this, I am signing this object:
| This post links my 3Box profile to my Github account! Web3 social profiles by 3Box. | |
| ✅ did:3:bafyreifperjwrmmwd557te5nipfgjg4yqkdlubccfaor5hcvfjoxv2ouya ✅ | |
| Create your profile today to start building social connection and trust online at https://3Box.io/ |