Skip to content

Instantly share code, notes, and snippets.

@ant4g0nist
ant4g0nist / tezos.md
Created July 20, 2021 15:06
Install Tezos Client on Apple M1
➜  tezos ✗ arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
➜  tezos ✗ arch -x86_64 /usr/local/bin/brew tap serokell/tezos-packaging https://github.com/serokell/tezos-packaging.git
➜  tezos ✗ arch -x86_64 /usr/local/bin/brew install tezos-client

➜  tezos ✗ tezos-client 
Usage:
  tezos-client [global options] command [command options]
  tezos-client --help (for global options)
  tezos-client [global options] command --help (for command options)
// Simple example of how to display an image from IPFS on your html web page
// Using ipfs/js-ipfs : https://github.com/ipfs/js-ipfs#use-in-the-browser
// Don't forget to include the scripts into your html page:
// <script src="https://unpkg.com/ipfs/dist/index.min.js"></script>
// <script src="https://cdn.jsdelivr.net/npm/ipfs/dist/index.min.js"></script>
function showIPFSImage () {
// Create the IPFS node instance
const node = new Ipfs()