`import { Bridge, mpclib, TssDklsLib } from "@web3auth/react-native-mpc-core-kit";
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 10/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- react-native, typescript
- Domain
- mobile-dev
Research direction
The issue contains only a React Native TypeScript import and initialization snippet; it names no repository file, test, error, or requested behavior. Start by reviewing the single comment and clarifying the failure or desired change; completion criteria cannot be determined from the current payload.
Written by the indexing model from the issue text.
Description
`import { Bridge, mpclib, TssDklsLib } from "@web3auth
class ReactStorage implements IAsyncStorage {
async getItem(key: string): Promise<string | null> {
return SecureStorage.getItem(key);
}
async setItem(key: string, value: string): Promise {
return SecureStorage.setItem(key, value);
}
}
const coreKitInstancelocal = new mpclib.Web3AuthMPCCoreKitRN({
web3AuthClientId: 'torus-key-test',
web3AuthNetwork: WEB3AUTH_NETWORK.DEVNET,
uxMode: 'react-native',
asyncStorageKey: new ReactStorage(),
tssLib: TssDklsLib,
});
const [bridgeReady, setBridgeReady] = useState(false);
// ...
useEffect(() => {
if (bridgeReady) {
const init = async () => {
try {
// IMP START - SDK Initialization
await coreKitInstance.init();
// IMP END - SDK Initialization
} catch (error: any) {
uiConsole(error.message, "mounted caught");
}
setCoreKitStatus(coreKitInstance.status);
};
init();
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [bridgeReady]);
- Dominant language
- TypeScript
- Stars
- 5
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MetaMask/react-native-mpc-core-kit
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in MetaMask/react-native-mpc-core-kit
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·