@logion/crossmint
TypeScript icon, indicating that this package has built-in type declarations

0.1.32 • Public • Published

Logion Crossmint SDK

This project provides some utility classes enabling the use of the Crossmint wallet with a logion client.

Note that only message signature is supported. So you will be able to authenticate and interact with logion off-chain services, but not submit extrinsics to the logion chain.

Usage

Install package @logion/crossmint with your favorite package manager and start siging content using the extension.

import { CrossmintSigner } from '@logion/crossmint';

const crossmint = new CrossmintEVMWalletAdapter({
    apiKey: "YOUR_API_KEY",
    chain: BlockchainTypes.ETHEREUM, // Only Ethereum is supported for the moment
});
  
const address = await crossmint.connect();
if(!address) {
    throw new Error("Unable to connect to Crossmint");
}

const client = LogionClient.create(...);
const signer = new CrossmintSigner(crossmint);
let authenticatedClient = await client.authenticate([ address ], signer);

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.320latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.320
0.1.32-10
0.1.310
0.1.31-10
0.1.300
0.1.290
0.1.29-10
0.1.280
0.1.28-10
0.1.270
0.1.27-10
0.1.260
0.1.26-10
0.1.250
0.1.25-10
0.1.240
0.1.24-10
0.1.230
0.1.23-10
0.1.220
0.1.22-10
0.1.210
0.1.21-10
0.1.200
0.1.20-10
0.1.190
0.1.19-10
0.1.180
0.1.18-10
0.1.170
0.1.17-10
0.1.160
0.1.16-20
0.1.16-10
0.1.150
0.1.15-20
0.1.15-10
0.1.140
0.1.14-10
0.1.130
0.1.13-10
0.1.120
0.1.12-10
0.1.110
0.1.11-11
0.1.100
0.1.10-10
0.1.9-10
0.1.80
0.1.8-20
0.1.8-10
0.1.70
0.1.7-10
0.1.6-20
0.1.6-10
0.1.50
0.1.5-10
0.1.40
0.1.4-10
0.1.30
0.1.3-10
0.1.20
0.1.2-10
0.1.10
0.1.1-30
0.1.1-20
0.1.1-10
0.1.00
0.1.0-00

Package Sidebar

Install

npm i @logion/crossmint

Weekly Downloads

0

Version

0.1.32

License

Apache-2.0

Unpacked Size

3.58 kB

Total Files

6

Last publish

Collaborators

  • benoitdevos
  • gdethier