Create a new game process
.load arena.lua
.load ao-effect.lua
.load-blueprint token
import Arweave from "arweave"; | |
import { JWKInterface } from "arweave/node/lib/wallet"; | |
import { LoggerFactory, WarpNodeFactory } from "warp-contracts"; | |
import fs from "fs"; | |
import path from "path"; | |
import ArLocal from "arlocal"; | |
(async () => { | |
const arlocal = new ArLocal(8080); | |
await arlocal.start(); | |
const arweave = Arweave.init({ |
set ts=2 | |
set sts=2 | |
set et | |
set sw=2 | |
call plug#begin() | |
Plug 'jonsmithers/vim-html-template-literals' | |
Plug 'pangloss/vim-javascript' |
const { Client } = require('hyperspace') | |
const Hyperbee = require('hyperbee') | |
const client = new Client() | |
const store = client.corestore() | |
const core = store.get('ee26ef1982c9f3bb3ce49adc46cbc55467ecb88779a629234af702da9965758e') | |
const db = new Hyperbee(core, { | |
keyEncoding: 'utf-8', | |
valueEncoding: 'json' | |
}) |
This is a list of resources that are specific to API Requirements
Express - https://github.com/expressjs/express Vercel - https://vercel.com Render - https://render.com/ Fly - https://fly.io Begin - https://begin.com/
Testing front end code using rollup, tape-modern, and puppeteer.
These are just some notes for me to write down so that I have a good cheatsheet to set this up in the future.
Using rollup to build front end code is the way to go, it is small and provides tree shaking and the plugins are easy to manage. Using rollup to build a test bundle and using puppeteer to run the test bundle will create a chromium head browser and give you similar results as if you are running it in the browser.
{ | |
"workbench.startupEditor": "newUntitledFile", | |
"editor.fontSize": 16, | |
"editor.tabSize": 2, | |
"editor.cursorStyle": "underline-thin", | |
"editor.hover.delay": 1000, | |
"editor.lightbulb.enabled": false, | |
"editor.matchBrackets": false, | |
"editor.renderLineHighlight": "none", | |
"editor.formatOnSave": true, |
call plug#begin('~/.vim/plugged') | |
Plug 'pangloss/vim-javascript' | |
Plug 'mxw/vim-jsx' | |
Plug 'drewtempelmeyer/palenight.vim' | |
Plug 'jxnblk/vim-mdx-js' | |
call plug#end() |
The datproject is a p2p protocol that enables users to exchange information without having to use a centralized platform, as long as you have an internet connection, you can use the dat protocol.
In this post, we will walk through sharing files using the dat cli.
First you will need NodeJS, you can download and install node from https://nodejs.org