add vdk_colors and vdk_names libs
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
dist
|
||||
jex_mindist
|
||||
jex_include
|
||||
*.beam
|
||||
*.swp
|
||||
*.swo
|
||||
test/testgen/b58_cases_2.eterms
|
||||
test/testgen/b58_cases_3.eterms
|
||||
__pycache__
|
||||
docs/
|
||||
@@ -0,0 +1,4 @@
|
||||
# vdk_names
|
||||
|
||||
This is a library for taking a bytestring and giving it a human name. There are
|
||||
4096 names. The use case is giving public keys human names in JR.
|
||||
@@ -0,0 +1,5 @@
|
||||
{type, library}.
|
||||
{realm, local}.
|
||||
{name, vdk_colors}.
|
||||
{version, "0.1.0"}.
|
||||
{deps, []}.
|
||||
@@ -0,0 +1,24 @@
|
||||
done:
|
||||
- base64/base58 encoding/decoding
|
||||
- rlp
|
||||
|
||||
today:
|
||||
- pull apart data
|
||||
|
||||
tomorrow:
|
||||
- basic easy serialization/deserialization
|
||||
- serialize/deserialize examples
|
||||
- (maybe) pull in awcp/sidekick
|
||||
- sidekick: sign/propagate and sign/noprop
|
||||
|
||||
later:
|
||||
|
||||
- general node querying with parasite (think about autogeneration)
|
||||
- simple aetto/ae/etc unit converter
|
||||
- ghetto sophia ide
|
||||
- general "send money to someone" page
|
||||
|
||||
GUI:
|
||||
|
||||
- simple testnet explorer
|
||||
- contract ide
|
||||
@@ -0,0 +1,38 @@
|
||||
/**
|
||||
* Miscellaneous helper functions for RGB/HSV color arithmetic
|
||||
*
|
||||
* Reference: https://en.wikipedia.org/wiki/HSL_and_HSV
|
||||
*
|
||||
* @module
|
||||
*/
|
||||
|
||||
export {
|
||||
};
|
||||
|
||||
export type {
|
||||
rgb
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* standard red-green-blue color representation
|
||||
*
|
||||
* attributes `r`, `g` and `b` each are integers ranging within `0..255` inclusive
|
||||
*/
|
||||
type rgb
|
||||
= {r : number,
|
||||
g : number,
|
||||
b : number};
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* hue-saturation-value color representation
|
||||
*
|
||||
- * `h` is an inte
|
||||
*/
|
||||
type hsv
|
||||
= {h : number,
|
||||
s : number,
|
||||
v : number};
|
||||
@@ -0,0 +1,16 @@
|
||||
{"compilerOptions" : {"target" : "es2022",
|
||||
"strict" : true,
|
||||
"esModuleInterop" : true,
|
||||
"skipLibCheck" : true,
|
||||
"forceConsistentCasingInFileNames" : true,
|
||||
"noImplicitAny" : true,
|
||||
"strictNullChecks" : true,
|
||||
"strictPropertyInitialization" : true,
|
||||
"sourceMap" : true,
|
||||
"outDir" : "dist",
|
||||
"declaration" : true},
|
||||
"$schema" : "https://json.schemastore.org/tsconfig",
|
||||
"display" : "Recommended",
|
||||
"include" : ["src/**/*"],
|
||||
"exclude" : ["src/jex_include"],
|
||||
"composite" : true}
|
||||
Reference in New Issue
Block a user