Javascript – How to get NEAR WALLET accountId from private or public key?
Im trying to get the NEAR WALLET AccountID. I have the next vode to get only the public key but i want also to get the account ID from privatekey or from public key. const nearApi = require('near-api-js'); let keypair…