Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
c552cd6
integration of PoC functionalities to RFM
David405 Sep 17, 2021
b0e8950
now on v10
TheoXD Sep 21, 2021
0a72c62
v10
TheoXD Sep 21, 2021
e79d9a2
Forgot the dependency
TheoXD Sep 21, 2021
6220685
Merge pull request #2 from r-publishing/ui-logic
David405 Sep 24, 2021
ae4124f
Some design changes
TheoXD Sep 26, 2021
c0b1f04
Small UI changes
TheoXD Sep 26, 2021
e578982
working demo
TheoXD Sep 29, 2021
1b554d0
working interface
David405 Sep 30, 2021
a994976
fixed merge
David405 Sep 30, 2021
aab465f
Merge pull request #13 from r-publishing/ui-logic
David405 Sep 30, 2021
8c55635
reduced load times during publishing, attestation etc
David405 Sep 30, 2021
6f59be8
Merge pull request #14 from r-publishing/ui-logic
David405 Sep 30, 2021
30659ee
Merged and hopefully builds on appflow
TheoXD Sep 30, 2021
62a04ed
Fixed a few warnings
TheoXD Sep 30, 2021
9c93a7f
remove rchain-token submodule
Bill-Kunj Oct 3, 2021
d284583
complete submodule breakage
Bill-Kunj Oct 3, 2021
1911a8b
break submodule linkage
Bill-Kunj Oct 3, 2021
63df1ad
dist_test
TheoXD Oct 5, 2021
4707196
Changed rnode IP
TheoXD Oct 5, 2021
3254e90
fixed bug with uploading in prod build in remote server
David405 Oct 6, 2021
cbdc8c1
Merge branch 'master' into ui-logic
David405 Oct 6, 2021
938ed99
Merge pull request #19 from r-publishing/ui-logic
David405 Oct 6, 2021
5dc3859
Fixed IonCard not found
David405 Oct 6, 2021
7972024
Forced color to use codes rather than variables
David405 Oct 6, 2021
44f8a64
Merge branch 'master' of https://github.com/r-publishing/PoC
TheoXD Oct 6, 2021
6872c20
leftovers...
TheoXD Oct 6, 2021
0467177
Minor UI tweaks
TheoXD Oct 6, 2021
f83bf37
Card bg
TheoXD Oct 6, 2021
c93a0f1
Use IonChip to display signatures
TheoXD Oct 6, 2021
680c3fd
fixed color issues on different browsers
David405 Oct 13, 2021
2cdf207
tour guide
TheoXD Oct 13, 2021
304bec8
Merge pull request #26 from r-publishing/tour
TheoXD Oct 13, 2021
de16b57
Fresh state 4
TheoXD Oct 13, 2021
bfeae58
Fresh state 6
TheoXD Oct 13, 2021
b60040d
Fresh state 7
TheoXD Oct 13, 2021
3c6fb3c
Fresh state 4b
TheoXD Oct 13, 2021
9a0c44a
fixed merged commits
David405 Oct 27, 2021
6b951da
housekeeping...
TheoXD Nov 6, 2021
80d8f8f
fixed bugs, cleanup
David405 Nov 9, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
6 changes: 0 additions & 6 deletions .gitmodules

This file was deleted.

2 changes: 1 addition & 1 deletion appflow.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"apps":
[
{
"appId": "rpublishing",
"appId": "66d7deae",
"root": "rfm/rfm_tmp"
}
]
Expand Down
1 change: 0 additions & 1 deletion rchain-token
Submodule rchain-token deleted from 68ed5c
1 change: 0 additions & 1 deletion rdev-rpublishing
Submodule rdev-rpublishing deleted from e0e85a
1 change: 1 addition & 0 deletions rfm/rfm_tmp/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SKIP_PREFLIGHT_CHECK=true
20 changes: 20 additions & 0 deletions rfm/rfm_tmp/.yalc/key-did-provider-secp256k1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# secp256k1 key did provider
Still work in progress.

## Usage

```js
import { Secp256k1Provider } from 'key-did-provider-secp256k1'
import { DID } from 'dids'

const secretKey = new Uint8Array(...) // 32 bytes with high entropy
const provider = new Secp256k1Provider(secretKey)
const did = new DID({ provider })
await did.authenticate()

const { jws, linkedBlock } = did.createDagJWS({ hello: 'world' })
```

## License

Apache-2.0 OR MIT
37 changes: 37 additions & 0 deletions rfm/rfm_tmp/.yalc/key-did-provider-secp256k1/dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import { Encrypter } from 'did-jwt';
import { Decrypter } from 'did-jwt';
import { RPCConnection, RPCRequest, RPCResponse } from 'rpc-utils';
export declare function encodeDID(secretKey: Uint8Array): string;
export interface PublicKey {
id: string;
type: string;
controller: string;
ethereumAddress?: string;
publicKeyBase64?: string;
publicKeyBase58?: string;
publicKeyHex?: string;
publicKeyPem?: string;
}
export interface CreateJWEParams {
cleartext: Uint8Array;
recipients: Array<string>;
protectedHeader?: Record<string, any>;
aad?: Uint8Array;
}
interface JWSSignature {
protected: string;
signature: string;
}
export interface GeneralJWS {
payload: string;
signatures: Array<JWSSignature>;
}
export declare function aesDecrypter(secretKey: Uint8Array): Decrypter;
export declare function aesEncrypter(publicKeyHex: string): Encrypter;
export declare class Secp256k1Provider implements RPCConnection {
protected _handle: (_msg: RPCRequest) => Promise<RPCResponse | null>;
constructor(secretKey: Uint8Array);
get isDidProvider(): boolean;
send(msg: RPCRequest): Promise<RPCResponse | null>;
}
export {};
8 changes: 8 additions & 0 deletions rfm/rfm_tmp/.yalc/key-did-provider-secp256k1/dist/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

'use strict'

if (process.env.NODE_ENV === 'production') {
module.exports = require('./key-did-provider-secp256k1.cjs.production.min.js')
} else {
module.exports = require('./key-did-provider-secp256k1.cjs.development.js')
}
Loading