Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.19 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.19 KB

district0x/eip55

CircleCI

This ClojureScript library provides an implementation of EIP-55 EIP-55.

Installation

Latest released version of this library:
Clojars Project

API Overview

There is only one function address->checksum, which converts an arbitrary case address to EIP-55 checksumed address.

Development

  1. Run test suite:
  • Browser
    • npx shadow-cljs watch test-browser
    • open https://d0x-vm:6502
    • tests refresh automatically on code change
  • CI (Headless Chrome, Karma)
    • npx shadow-cljs compile test-ci
    • CHROME_BIN=`which chromium-browser` npx karma start karma.conf.js --single-run
  1. Build
  • on merging pull request to master on GitHub, CI builds & publishes new version automatically
  • update version in build.clj
  • to build: clj -T:build jar
  • to release: clj -T:build deploy (needs CLOJARS_USERNAME and CLOJARS_PASSWORD env vars to be set)