From 084329670233302c73f44f0b0a9c95565e68b969 Mon Sep 17 00:00:00 2001 From: Kabir R Date: Tue, 8 Jun 2021 12:19:02 -0700 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8955bb8..a012e2d 100644 --- a/README.md +++ b/README.md @@ -43,12 +43,25 @@ npm test To include from NPM: ```javascript -const { address_to_puzzle_hash, puzzle_hash_to_address, get_coin_info, bytes_to_hex, hex_to_bytes } = require("chia-utils"); +const { address_to_puzzle_hash, puzzle_hash_to_address, get_coin_info, get_coin_info_mojo, bytes_to_hex, hex_to_bytes } = require("chia-utils"); ``` To include from file: ```javascript -const { address_to_puzzle_hash, puzzle_hash_to_address, get_coin_info, bytes_to_hex, hex_to_bytes } = require("./chia-utils.js"); +const { address_to_puzzle_hash, puzzle_hash_to_address, get_coin_info, get_coin_info_mojo, bytes_to_hex, hex_to_bytes } = require("./chia-utils.js"); +``` + +To use in the browser: +```html + + ``` ## Address to Puzzle Hash