kiltprotocol / demo-client Goto Github PK
View Code? Open in Web Editor NEWKILT Demo Client
Home Page: https://kilt.io
License: BSD 4-Clause "Original" or "Old" License
KILT Demo Client
Home Page: https://kilt.io
License: BSD 4-Clause "Original" or "Old" License
since blockchain transaction cannot be processed in a batch right now
This includes
Chain explorer is done, but telemetry not
Seems that the blockchain connection is not correctly setup within the component. The callback never kicks in, but the attestation is written on chain.
This should be Node.js based and use the SDK
The user has to provide a ctype and a seed
The application listens to messages and auto-attests claims, if correct ctype
On production client, on ctype page, getting the contacts blocks page and throws a lot of error notifications
Original Ticket:
https://kiltprotocol.atlassian.net/browse/KPR-426
Hello, I have a problem running the source code.
Running yarn start
generated:
./node_modules/@polkadot/util/node_modules/chalk/source/index.js
Module parse failed: Unexpected token (103:1)
You may need an appropriate loader to handle this file type.
const proto = Object.defineProperties(() => {}, {
...styles,
level: {
enumerable: true,
I don't know what happened. Could you please help me? Thanks.
So that the demo client works inside a restrictive firewall
browser output like below:
2020-07-29 01:05:21 RPC-CORE: getMetadata (block: Hash): Metadata:: createType(Metadata):: U8a : failed on 'MagicNumber':: U8a: failed on 'MetadataEnum':: Unable to create Enum via index 11, in V0 , V1, V2, V3, V4, V5, V6, V7, V8 2020-07-29 01:05:21 API/DECORATOR: Error: FATAL: Unable to initialize the API: getMetadata (block: Hash): Metadata:: createType(Metadata):: U8a: failed on 'MagicNumber':: U8a: failed on 'MetadataEnum' :: Unable to create Enum via index 11, in V0, V1, V2, V3, V4, V5, V6, V7, V8
Right now, it is only possible to transfer tokens to contacts. It should be possible to enter an address to transfer tokens to non-contacts
Only prompt, if the chain was actually reset.
You can check this, by saving the current blocknumber every x seconds in localstorage and comparing the current blocknumber to the stored one
some routes (e.g. wallet/add) can not be accessed directly, but only via navigating to them via links.
CTYPE needs to be refactored
author
actually contains the metaData.name
of the author, should be the publicIdentity.address
after finishing transactions with the blockchain, we have to actively disconnect the connection.
Alternative: keep a websocket connection for all transactions
Alternative 2: only allow 1 connection per client
Add support for requesting and submitting claims for multiple ctypes.
Maybe make the button a link
We want to use the directories components
, container
, and routes
to manage our code.
Components and container have subdirectories with the component name and include all files necessary for that
Hello, I have a problem building the docker image.
Running docker build -t kilt/prototype-client .
generated:
...
ts-loader: Using [email protected] and /app/tsconfig.prod.json
Failed to compile./app/node_modules/@types/webassembly-js-api/index.d.ts
(15,1): Definitions of the following identifiers conflict with those in another file: Imports, Exports, Module, Instance, Memory, Table, CompileError, LinkError, RuntimeError
error Command failed with exit code 1.
This message Definitions of the following identifiers conflict with those in another file
is really strange. Please have a check. Thank you.
...to resolve external and internal dids (already part of our sdk)
did:kilt:123456789
simple frontend fix
Claims are currently saved without a connection to the selected user.
They have to be associated with him.
It should already fill out the address field there with the corresponding KILT address.
This would need a service, which transfers the tokens, so that the identity doesn't get exposed
So far we have a really bulky contact caching. This should be handled a lot smarter.
We might want to add the old codemirror editor back as an alternative to the json ctype editor, because creating a ctype is a technical thing, whereas claiming is a user-facing thing (so here we should definitely use the editor).
They should both be using the same underlying data, so switching can be done on the fly and the editors update accordingly.
the current behavior of "new delegation" on cType oder delegation list view is unsatisfying. right now just nothing happens, there should be a message after pressing the button/action
Hi,
I can not run demo-client. No matter if I am using docker or yarn commands.
Error message:
/app/node_modules/@types/bs58/index.d.ts
(7,10): Module '"../../base-x/src"' has no exported member 'BaseConverter'.
I am using newest Ubuntu.
Npm version 6.9.0.
Node version 12.6.0
use https://github.com/polkadot-js/polkadot-identicon everywhere a user is shown
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.