Skip to content

Instantly share code, notes, and snippets.

title author
Glassery
Oleg Grenrus

After I have improved the raw performance of optika – a JavaScript optics library, it's time to make the library (feature-)complete and sound. Gathering and classifying all possible optic types, gives us a reference point

@vlzhr
vlzhr / index.js
Created February 10, 2020 12:21
certificado example
function sendData() {
const text = document.querySelector(".data").value;
let data = text.split("\n");
data = data.map(function(x) { return {"key": x.split(" ")[0], "value": x, "type": "string"}} );
const tx = {
type: 12, // data transaction
data: {
data: data,
fee: {
"tokens": "0.001",