The easiest way to interact with mynumber card.
<script src="https://mynaconnect-lib.netlify.app/mynaconnect.js">
This source addres will change in the near future.
import { Popup } from "mynaconnect"
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)
})
npm install
npm run build
npm run dev # will automatically open web browser