diff --git a/Emakefile b/Emakefile new file mode 100644 index 0000000..68c7b67 --- /dev/null +++ b/Emakefile @@ -0,0 +1 @@ +{"src/*", [debug_info, {i, "include/"}, {outdir, "ebin/"}]}. diff --git a/Makefile b/Makefile deleted file mode 100644 index e69de29..0000000 diff --git a/README.md b/README.md index 16ab532..d250966 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,11 @@ Erl-Base58 ========== -Version: 0.1.0 +Version: 0.1.1 -This is a simple implementation of a Base58 encoder and decoder for Integers and Binaries. Base58 is most prevalent in the [Bitcoin](http://bitcoin.org) virtual currency system. The Base58 representation makes use of a representation that is mostly free from ambiguous characters, this makes is easier for a human to verify that the Base58 string is correct. +This is a simple implementation of a Base58 encoder and decoder for Integers and Binaries. +Base58 is most prevalent in cryptocurrency systems. +The Base58 representation makes use of a representation that is mostly free from ambiguous characters, this makes is easier for a human to verify that the Base58 string is correct. Usage ----- diff --git a/makerebar.sh b/makerebar.sh deleted file mode 100755 index 40a406c..0000000 --- a/makerebar.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -git clone https://github.com/basho/rebar.git rebar-tmp -cd rebar-tmp -make -cp rebar .. -cd .. -rm -rf rebar-tmp diff --git a/rebar b/rebar deleted file mode 100755 index 804e45c..0000000 Binary files a/rebar and /dev/null differ diff --git a/rebar.config b/rebar.config deleted file mode 100644 index 05155c2..0000000 --- a/rebar.config +++ /dev/null @@ -1 +0,0 @@ -{plugins, [rebar3_hex]}. \ No newline at end of file diff --git a/src/base58.app.src b/src/base58.app.src deleted file mode 100644 index 171dee3..0000000 --- a/src/base58.app.src +++ /dev/null @@ -1,11 +0,0 @@ -{application, base58, - [ - {description, "A simple Erlang module to perform Base58 encoding and decoding"}, - {vsn, "0.0.1"}, - {registered, []}, - {applications, [ - kernel, - stdlib - ]}, - {licenses, ["Apache-2.0"]}, - {links, [{"GitHub", "https://github.com/aeternity/erl-base58"}]}]}. diff --git a/src/base58.erl b/src/base58.erl index 0d39fc4..3b01115 100644 --- a/src/base58.erl +++ b/src/base58.erl @@ -7,6 +7,7 @@ %% %% This module is distributed under an Apache 2.0 Licence -module(base58). +-vsn("0.1.1"). -export([check_base58/1, binary_to_base58/1, integer_to_base58/1, base58_to_integer/1, base58_to_binary/1]). %% @doc This is an internal function that encodes the equivalent base58 number diff --git a/zomp.meta b/zomp.meta new file mode 100644 index 0000000..9a9a8ff --- /dev/null +++ b/zomp.meta @@ -0,0 +1,17 @@ +{name,"Erlang Base58"}. +{type,lib}. +{modules,[]}. +{prefix,none}. +{author,"David Ellefsen"}. +{desc,"A simple implementation of a Base58 encoder and decoder for Integers and Binaries."}. +{package_id,{"otpr","erl_base58",{0,1,1}}}. +{deps,[]}. +{key_name,none}. +{a_email,[]}. +{c_email,[]}. +{copyright,"David Ellefsen"}. +{file_exts,[]}. +{license,"Apache-2.0"}. +{repo_url,"https://git.qpq.swiss/QPQ-AG/erl-base58"}. +{tags,["base58"]}. +{ws_url,[]}.