Bài đăng

Đang hiển thị bài đăng từ Tháng 6, 2022

Run node MINA

Hình ảnh
MINA: run node and in Rust https://nodes.guru/mina-protocol/setup-guide/en https://morioh.com/p/d6d6c017a914 https://github.com/ChainSafe/mina-rs

Realized Cap

Hình ảnh
Realized Cap Realized Cap Definition of Realized Cap Coinmetrics API: video tutorial Coinmetrics names: doc CapRealUSD code # 1. install coinmetrics !pip install coinmetrics . api_client # 2. client API from coinmetrics . api_client import CoinMetricsClient client = CoinMetricsClient ( ) # 3. raw data import numpy as np import pandas as pd metrics = client . get_asset_metrics ( assets = "btc" , metrics = [ "CapRealUSD" , "CapMrktCurUSD" ] ) df = pd . DataFrame ( metrics ) df = df . sort_values ( by = 'time' , ascending = True ) # 4. process data df = df . replace ( to_replace = 'None' , value = np . nan ) . dropna ( ) df [ 'time' ] = pd . to_datetime ( df [ 'time' ] ) . dt . date # df = df.reindex(index=df.index[::-1]) df = df . set_index ( "time" ) df [ 'CapMrktCurUSD' ] = df [ 'CapMrktCurUSD' ] . astype ( float ) df [...

Programming language for zk-SNARK

Hình ảnh
 Programming language for sk-SNARK  Programming language for (recursive) zk-snark: SnarkyJS developed by MINA and Protocol Lab based on TypeScripts Lurk developed by FileCoin based on Lisp/ Rust: github Leo developed by ....  XjsSnark  Python for ZkProof Lecture notes for zk proof: basic definitions , simple zkp , zk science , zk web asambly , course zk Fiat-Shamir with python: web Stack based and register based model: The EVM uses a stack-based architecture which, although simpler than a register-based structure, increases the difficulty of proving computation. This is why prominent zero-knowledge VMs, such as ZkSync's zkEVM and StarkWare's StarkNet use a register-based model.  Keep track: zkp science : includes set of zk techs  STARK: intro by Vitalik zkVM

Bitcoin market update in June 2022

Hình ảnh
  Bitcoin market update in June 2022 Keep in mind:  But Alt coins did not go down too much! To win, do not dead! keep money! 13th June 2022: Crypto lender Celsius pauses withdrawals due to 'extreme market condition Binance resumes bitcoin withdrawals after 'stuck transaction' US SEC Investigating Binance's Initial Coin Offering In 2017 STETH depeg USDD depeg  CPI 8.3% (highest in 40 years) FED Funding rate (in May): 0.77 ETH price = $1.2K < ATH in 2018 = $1.48K Glass node:  The Darkest Phase of the Bear Vietnamese video about stETH deH Market: BTC price low: $20K 24h: -25%, 7d: -25%, 1month: -34%, from ATH = -66.9% Total market cap: 860B (ATH: 2.9 trillion) BTC dominance: 48%  Liquidation: 1B Crypto fear and greed: 8  Third whale's profit -434M $ (18/06/2022) Indicators: BTC open interest (from crypto quant): from 12B  down to 8B --> BUY Supply in profit (crypto quant): 50% -->BUY (Mar 2020 = covid = 45%)  Third whale's profit: 32 milion...

Third whale's method

Hình ảnh
 Third whale's method  

zk-port

Hình ảnh
 zk port zk learn: a-hands-on-tutorial-for-zero-knowledge zk blockchain: Polygon: EVM compatible, zkEVM, plonky zkSync: EVM compatible, zkEVM-RISC-architecture  StarkNet: in-compaitible, zkVM (Cairo VM), fast  Scroll: EVM equivalent, "By implementing  PUSH0 , we now support all EVM opcodes.",  Mina: no VM RISC-zero: RISC-V-architecture zk rollup: post of vitalik , zk verse of polygon , PLONK from vitalik ,  a video in vnese , a video in english   zk Cryptography: Snarks Starks Plonk (snarks) DEEP-FRI zk Products: zkEVM zkApp zkOracle zkBridge Layer 2 solutions: L2BEAT : layer 2 solutions,  The whole picture of L2  (In Vietnamese) The major components of zkEVM are : Proof of Efficiency Consensus Mechanism zkNode Software zkProver LX-to-LY Bridge Sequencers Aggregators Active users of the zkEVM network who create transactions. Comparison between zk-rollup and others by Matter Labs

Installing SnarkyJS with Nodejs

Hình ảnh
Installing SnarkyJS Installing SnarkyJS with Nodejs This post aims to share my experience of installing SnarkyJS , which is a TypeScript framework for Mina’s zkApps . To install SnarkyJS, I first installed Nodejs and npm (npm = node package manager which is automatically installed together with Nodejs). Then we use npm to install SnarkyJS (and many others packages), I got the error EACCES . This is because “I probably ran Nodejs installation with root permissions, that’s why the global package installation is asking you to be root.” (see Stackoverflow )) I follows the instruction of Stackoverflow and installed SnarkyJS successfully. Here is the details. Uninstall Node by using the command: sudo apt-get remove nodejs Then install NVM following instructions of this 3 minutes video Install Nodejs 16 via NVM: nvm install 16 Now Nodejs 16 has been installed, we can verify by node -v to check the version. Then we are now able to install SnarkyJS by np...