One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>emv-validator #16 — merchant-chosen merchant IDs</title> | |
| <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@3.7.0/dist/tabler-icons.min.css"> | |
| <style> | |
| :root{ | |
| --color-background-primary:#ffffff; --color-background-secondary:#f4f3ee; --color-background-tertiary:#faf9f5; |
| //! A simple program to be proven inside the zkVM. | |
| #![no_main] | |
| sp1_zkvm::entrypoint!(main); | |
| use wasmi::{Engine, Linker, Module, Store, Caller}; | |
| mod zkwasi; | |
| pub fn main() { | |
| let wasm = sp1_zkvm::io::read::<Vec<u8>>(); |
| $high-emph: rgba(white, 0.87); | |
| $med-emph: rgba(white, 0.69); //Noicee | |
| $low-emph: rgba(white, 0.38); | |
| $dark-grey : #121212; | |
| // $dark-grey : #1F1B24; | |
| $overlay: mix($dark-grey, white, 95%); | |
| $overlay-light: mix($dark-grey, white, 86%); | |
| html, body, input, textarea, select, button { | |
| color: $high-emph !important; |
| import argparse | |
| def main(args): | |
| """ Main entry point of the app """ | |
| print("hello world") | |
| print(args) | |
| if __name__ == "__main__": |
| from matplotlib.pyplot import imshow | |
| %matplotlib inline | |
| #image is a numpy array | |
| imshow(image) | |
| ##Another way in colab is... | |
| from google.colab.patches import cv2_imshow | |
| cv2_imshow(image) |
| (function () { | |
| var AjaxMonitor, Bar, DocumentMonitor, ElementMonitor, ElementTracker, EventLagMonitor, Evented, Events, NoTargetError, Pace, RequestIntercept, SOURCE_KEYS, Scaler, SocketRequestTracker, XHRRequestTracker, animation, avgAmplitude, bar, cancelAnimation, cancelAnimationFrame, defaultOptions, extend, extendNative, getFromDOM, getIntercept, handlePushState, ignoreStack, init, now, options, requestAnimationFrame, result, runAnimation, scalers, shouldIgnoreURL, shouldTrack, source, sources, uniScaler, _WebSocket, _XDomainRequest, _XMLHttpRequest, _i, _intercept, _len, _pushState, _ref, _ref1, _replaceState, | |
| __slice = [].slice, | |
| __hasProp = {}.hasOwnProperty, | |
| __extends = function (child, parent) { | |
| for (var key in parent) { | |
| if (__hasProp.call(parent, key)) child[key] = parent[key]; | |
| } | |
| function ctor() { |