⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Midnight Embedded wallet #39

@jinglescode

Description

@jinglescode

path: /wallets/embedded/index.ts

specs:

const wallet = new EmbeddedWallet({
  key: {
      type: "mnemonic",
      words: ['words', ..., 'ability', 'able', 'about'],
  },
  providers: {
    proof: "https://lace.midnight.com/proof",
    indexer: "https://lace.midnight.com/indexer",
    node: "https://lace.midnight.com/node",
  },
})

await wallet.signTx()
await wallet.proof()
await wallet.submit()

Metadata

Metadata

Labels

bugSomething isn't workinghelp wantedCollaboration

Type

Projects

Status

Not Started

Relationships

None yet

Development

No branches or pull requests

Issue actions