did-relayer-quick
Version:
Veramo plugin that can enable creation and control of did:quick identifiers.
19 lines (15 loc) • 378 B
text/typescript
import {
TurboFactory,
USD,
WinstonToTokenAmount,
developmentTurboConfiguration,
} from "@ardrive/turbo-sdk";
import Arweave from "arweave";
(async () => {
/**
* Generate a key from the arweave wallet.
*/
const arweave = new Arweave({});
const jwk = await arweave.wallets.generate();
console.log("jwk: ", JSON.stringify(jwk));
})();