Skip to content

Instantly share code, notes, and snippets.

View ivanmolto's full-sized avatar
💚
regen

Ivan Molto ivanmolto

💚
regen
View GitHub Profile
@ivanmolto
ivanmolto / profile-3box.txt
Created April 22, 2019 18:22
3box profile
did:muport:QmaskEW7gMW5a23c8RnLLZSrZiXnvfzrVBMXCLayMr5yu1

Keybase proof

I hereby claim:

  • I am ivanmolto on github.
  • I am ivanmolto (https://keybase.io/ivanmolto) on keybase.
  • I have a public key ASA4qjsTlmpPQC1iuS3NeZPhawEWCbBPsXAARF9PDQlZEQo

To claim this, I am signing this object:

@ivanmolto
ivanmolto / freebieSwap.js
Created May 18, 2020 08:45 — forked from katelynsills/freebieSwap.js
Give a freebie to both participants while swapping
/* eslint-disable no-use-before-define */
import harden from '@agoric/harden';
import produceIssuer from '@agoric/ertp';
//import { makeZoeHelpers } from './contractSupport';
import { makeZoeHelpers, defaultAcceptanceMsg } from '@agoric/zoe/src/contractSupport';
// zcf is the Zoe Contract Facet, i.e. the contract-facing API of Zoe
export const makeContract = harden(zcf => {
const helpers = makeZoeHelpers(zcf);
const { assertKeywords, checkHook, swap } = helpers;
@ivanmolto
ivanmolto / address.txt
Created February 21, 2021 09:30
Deploy A Smart Contract On Celo
0xA500B75e716E096B169c7DBd820CE3f83c24a0c1
0x2E50f35FCCb380B90aF723c340BB30fcDa2b5E18

Development Environment Setup

This is Gabriel Cardona's AVA Labs-centric development environment setup. Use at your own risk. Your mileage may vary.

Terminal

iTerm2 is a replacement for Terminal

Shell

import {
Avalanche,
BinTools,
BN,
Buffer
} from "../../src";
import {
AVMAPI,
KeyChain,
UTXOSet,
import {
Avalanche,
BinTools,
BN,
Buffer
} from "../../src";
import {
AVMAPI,
KeyChain as AVMKeyChain,
SECPTransferOutput,
import {
Avalanche,
BinTools,
BN,
Buffer
} from "../../src";
import {
AVMAPI,
KeyChain as AVMKeyChain,
SECPTransferOutput,
@ivanmolto
ivanmolto / less.md
Created May 15, 2021 10:01 — forked from nnja/less.md
A cheatsheet for using less on the command line

Tips for using less on the command line.

To navigate:

  • f = for next page
  • b = for previous page

To search:

  • /<query>