district0x / eip55

ClojureScript implementation of EIP-55

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

ClojureScript implementation of EIP-55

License:Eclipse Public License 1.0


Languages

Language:Clojure 79.9%Language:JavaScript 20.1%