oasisprotocol / oasisprotocol/oasis-sdk

Js code cannot connect to demo wallet(chrome ext wallet)

Open
#281 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
90
Forks
35
Avg merge
5d 9h
Merged PRs (30d)
5

Description

There is a sample js code, which demos how to use the js API to connect to the wallet.

But the sample js code can only connect to the sample-ext extension in the repo (which doesn't have UI) right now, can't connect to the demo wallet yet.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with client-sdk/ts-web/ext-utils/sample-page/src/index.js and the surrounding ext-utils code to trace how the sample page connects to sample-ext. Compare that interface with the demo wallet archive linked in the issue, then verify the sample page can connect to the demo wallet in Chrome. Done means the existing sample JavaScript connects to the UI-bearing demo wallet rather than only sample-ext.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
blockchain, frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.