Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

my-number/connect-lib

Repository files navigation

Mynaconnect Client Library

The easiest way to interact with mynumber card.

How to use

Load Library

via <script>

<script src="https://mynaconnect-lib.netlify.app/mynaconnect.js">

This source addres will change in the near future.

via ESModule import

import { Popup } from "mynaconnect"

Example

const popup = new mynaconnect.Popup({
    appName: "Test Application"
});
popup.open("signWithAuth", { sigHash: "00" })
popup.getResult().then(result=>{
    console.log(result.success, result.cert, result.sig)
})

Build

npm install
npm run build

Try / Development

npm run dev  # will automatically open web browser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published