A very simple zkApp that allows user to deposit and withdraw. Run it with
node --experimental-vm-modules --experimental-wasm-modules --experimental-wasm-threads node_modules/jest/bin/jest.js -- fakemac.test.ts
A very simple zkApp that allows user to deposit and withdraw. Run it with
node --experimental-vm-modules --experimental-wasm-modules --experimental-wasm-threads node_modules/jest/bin/jest.js -- fakemac.test.ts
from functools import wraps | |
class ForbiddenDrink: | |
def __init__(self, drinks): | |
self.do_not_drink_that = drinks | |
def __call__(self, func): | |
@wraps(func) | |
def wrapper(*args, **kwargs): | |
innerself = args[0] |
by renzokuken
This document aims to technically define the requirements for a Telegram bot that can deposit and withdraw GRIN digital cash cryptocurrency. It is meant to be regarded as a formal application for a bounty suggested in this forum post.
Such a bot could serve more than one purpose.
Running the version without arrayProp
[nodemon] starting `node --no-warnings --experimental-specifier-resolution=node --loader ts-node/esm try_circuit_serialization.ts`
* checking if JSONized objects match after parsing
{ a: '1', b: { value: '1' } }
{ a: '1', b: { value: '1' } }
Runs and passes, but if I uncomment line 27 it fails with
console.log
oo
at Object.mM [as caml_pasta_fp_plonk_index_create] (node_modules/snarkyjs/dist/server/node_bindings/snarky_js_node.bc.js:2:23985)
console.log
eyo
#!/bin/sh | |
convert -background none inputs_before.png inputs_after.png +append inputs.png | |
#!/bin/sh | |
convert -background none multisignature_alice.png multisignature_bob.png multisignature_composite.png +append multisignature_keys.png | |
convert -background none multisignature_nonces.png multisignature_lhs_signatures.png multisignature_rhs_signatures.png +append multisignature_verification.png |
from Crypto.Cipher import AES | |
from getpass import getpass | |
ciphertext = None | |
with open('ciphertext3.txt', 'r') as file: | |
ciphertext = bytes.fromhex(file.read()) | |
password = getpass('Password: ') | |
key = bytes(password, 'ascii') | |
key = key + b'\x00'*(16-len(key)) |