Skip to content

Instantly share code, notes, and snippets.

View kostysh's full-sized avatar

Kostiantyn Smyrnov kostysh

View GitHub Profile
@kostysh
kostysh / secp256k1.sh
Created June 17, 2020 16:28
Creation of the secp256k1 key pair with openssl
#!/usr/bin/env bash
openssl ecparam -name secp256k1 -genkey -noout -out secp256k1.pem
openssl ec -in secp256k1.pem -pubout -out secp256k1.pub
# secp256k1.pem - private key
# secp256k1.pub - public key
@kostysh
kostysh / orgid.txt
Created June 4, 2020 00:20
Test orgid domain proof
0x0f0e8631db0fd385fc71e0d197b533547595a8eddf92d14b3fa7a63bfe330e7a
@kostysh
kostysh / test3.json
Created June 3, 2020 13:34
Test2 ORG.ID
{
"@context": [
"https://www.w3.org/ns/did/v1",
"https://windingtree.com/ns/orgid/v1"
],
"id": "did:orgid:0x1fdf2b8079330d5e05f132ce066304f7d50d1d1965377e9975059995e8ff17eb",
"created": "2020-05-01T02:15:45.589Z",
"legalEntity": {
"contacts": [],
"locations": [],
{
"@context": [
"https://www.w3.org/ns/did/v1",
"https://windingtree.com/ns/orgid/v1"
],
"id": "did:orgid:0x1c9d8f58ae240812a4c8401f20ef6a967d801b9119cdfc831c8b1743257beb92",
"created": "2019-01-01T13:10:02.251Z",
"updated": "2020-06-05T12:56:58.433Z",
"publicKey": [
{
{
"@context": [
"https://www.w3.org/ns/did/v1",
"https://windingtree.com/ns/orgid/v1"
],
"id": "did:orgid:0x71cd1781a3082f33d2521ac8290c9d4b3b3b116e4e8548a4914b71a1f7201da0",
"created": "2019-01-01T13:10:02.251Z",
"updated": "2019-06-03T13:20:06.398Z",
"publicKey": [
{
{
"@context": [
"https://www.w3.org/ns/did/v1",
"https://windingtree.com/ns/orgid/v1"
],
"id": "did:orgid:0x5e6994f76764ceb42c476a2505065a6170178a24c03d81c9f372563830001171",
"created": "2019-01-01T13:10:02.251Z",
"updated": "2019-06-03T13:20:06.398Z",
"publicKey": [
{
@kostysh
kostysh / Subsidiary ORG.ID
Last active February 10, 2020 04:06
Subsidiary ORG.ID example
{
"@context": "https://windingtree.com/ns/did/v1",
"id": "did:orgid:0xDa3D89fda52DE133DBbcC06d71E05Af75b8fcE52",
"created": "2019-01-01T13:10:02.251Z",
"updated": "2019-06-03T13:20:06.398Z",
"publicKey": [],
"service": [
{
"id": "did:orgid:0xA0B74BFE28223c9e08d6DBFa74B5bf4Da763f959#org-id-rest",
"type": "org-id-rest-0.7.1a",
@kostysh
kostysh / ORG.ID
Last active February 19, 2020 10:56
ORG.ID example
{
"@context": "https://windingtree.com/ns/did/v1",
"id": "did:orgid:0xd1e15bcea4bbf5fa55e36bb5aa9ad5183a4acdc1b06a0f21f3dba8868dee2c99",
"created": "2019-01-01T13:10:02.251Z",
"updated": "2019-06-03T13:20:06.398Z",
"publicKey": [
{
"id": "did:orgid:0x00000000000000000000000000000000000tree#firstkey",
"type": "X25519",
"controller": "did:orgid:0x00000000000000000000000000000000000tree",
### Keybase proof
I hereby claim:
* I am kostysh on github.
* I am kostysh (https://keybase.io/kostysh) on keybase.
* I have a public key ASB6t2pvJ6TiSFpJ2w_xKYW0HOz8vS2wClOUbnatyhS43Qo
To claim this, I am signing this object:
@kostysh
kostysh / gist:e63cb831bc2153b76523
Created May 19, 2015 21:17
Start web server using sencha cmd
sencha web -port 8080 start -map [project_name]=/[path_to_project_folder] &