
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
starmap-api
Advanced tools
A verified on-chain Solana directory service.
Starmap is a Solana program that maps public identifiers ("PI") to wallet addresses. These mapping entries in Starmap are called name records. Currently-supported PIs include email address and phone number. Unverified aliases called Stars accounts will be available soon.
This API enables a user ("sender") to query Starmap to find the wallet address associated with a public identifier ("PI") such as an email address or phone number. The sender can then directly send SOL or tokens to the recipient. Alternatively, if there is no wallet currently associated, the sender can create an escrow account, send funds to the escrow, and notify the recipient. Flow details are below.
Additionally, a user ("recipient") can use this API to create a name record and to receive escrow funds.
If the recipient cannot claim the name record, the sender can cancel the escrow and reclaim their funds. All that with no calls to customer service! The only permissioned part of the system is claiming of name records.
With the exception of InitFee and Verify, the client can directly interact with the blockchain
parseNameretrieveNameRegistryrecord.isAssignedAndValidrecord.ownerFor transactions of value > $1 USD, Star Map can send the recipient an email notification.
If the NameRecord does not exist or has no owner, the sender can create an escrow record and an associated token account that is owned by the escrow record.
A name record contains:
See also state.ts
Test:
npm test
npm i --save starmap-api
import { RecordType, retrieveNameRegistry, parseName } from 'starmap-api';
async function main() {
let input = '+12345678910';
const { recordType, name, parseError } = parseName(input);
if (recordType == RecordType.Invalid) {
console.log('Invalid identifier: %s', name);
console.log('Error: %s', parseError.message);
return;
}
console.log('Retrieve identifier:', name);
const url = 'https://api.mainnet-beta.solana.com';
const connection = new Connection(url, 'recent');
let res = await retrieveNameRegistry(connection, name, recordType);
if (res.isAssignedAndValid) {
console.log('---Record---');
console.log('Owner:', res.owner.toBase58());
} else {
console.log('Name not assigned');
}
}
main()
.catch((err) => {
console.error(err);
process.exit(-1);
})
.then(() => process.exit());
Gmail: starmap.network
FAQs
Starmap Verified Public Directory Service API
We found that starmap-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.