Coder Social home page Coder Social logo

concordium / concordium-dapp-libraries Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 5.0 1.52 MB

A coherent set of building blocks for making it as easy as possible for developers to build web-based dApps.

License: Apache License 2.0

TypeScript 99.14% JavaScript 0.74% Shell 0.12%

concordium-dapp-libraries's People

Contributors

bisgardo avatar dependabot[bot] avatar lunguyenhat avatar soerenbf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

concordium-dapp-libraries's Issues

CI: Publish workflow: Require non-empty changelog, add flags, and announce on Slack

It doesn't make sense to make a release without any changes worth mentioning. We should therefore require that the extracted change isn't empty and have the workflow verify this.

In the (unforseen) case that the message in the annotated tag is in fact sufficient, we might add a boolean input flag to either allow the changelog to be empty or not attempt to extract it at all. Either way, the "Changelog" section of the release notes should be included only if it's followed by any entries.

We might also want to add flags for skipping other actions like publishing to npm or GitHub. But more likely we should split the workflow such that the current one only publishes to GitHub. Publishing to npm will happen in a separate workflow which is triggered automatically by a publish to GitHub. This allows the possibility of manual GitHub releases to automatically sync to the npm registry.

It would also be neat if a message announcing the release was automatically posted to the appropriate Slack channel.

This task is a followup to #39.

Addition of the remaining methods which are in the Wallet Api

Description
There's a few methods that are in the Wallet Api but not in this library.

I'm currently writing Dapp codes with React and on my way to refactor Wallet connection logic with this library, replacing Wallet Api with this library.
For now everything seems to be fine except above point. e.g. addCIS2Tokens

Remove unnecessary logging

The WithWalletConnector component is currently logging events on the debug and info levels. Ensure that we only log on debug and only what's strictly useful.

Update to depend on official releases.

When the browser wallet is released with the updated wallet API, the libraries included in this repository should be updated to point to the official release of @concordium/browser-wallet-api-helpers.

Moving the `WALLET_CONNECT_PROJECT_ID` constant into the `walletConnect` library

Task description
Move the WALLET_CONNECT_PROJECT_ID constant into the walletConnect library since it has to be reused by outside developers.

const WALLET_CONNECT_PROJECT_ID = '76324905a70fe5c388bab46d3e0564dc';

Concordium/concordium-browser-wallet#260 (comment)

https://concordium.slack.com/archives/C037WKK99NE/p1679042051884009?thread_ts=1679041309.052459&cid=C037WKK99NE

The WALLET_CONNECT_PROJECT_ID, is the ID allocated to the account that Concordium has with walletconnect. Other dApp developers should use the same number. It is the ID for our wallets, so walletconnect knows which app to open a connection with.

Sample: Add indication that the dapp is waiting for wallet approval

This is clear when using the browser wallet as the popup opens inside the field of view. But for WalletConnect it isn't clear to the user that they should switch attention to their phone.

If the solution turns out to be generic it would make sense to add it to react-components.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.