entropyxyz / sdk

Official JavaScript SDK for Entropy blockchain.
GNU Affero General Public License v3.0
7 stars 0 forks source link

Unknown Signed Extension Error #315

Open mixmix opened 2 months ago

mixmix commented 2 months ago
2024-04-17 15:21:01        REGISTRY: Unknown signed extensions ValidateElectricityPayment, ValidateConfirmRegistered found, treating them as no-effect

See this on running:

import Entropy from '@entropyxyz/sdk'
import { getWallet } from '@entropyxyz/sdk/dist/keys/index.mjs'

async function start () {
  const seed = '98fb1f513a1d979aab3e77e4cb447fc7b0d724924314af4fb8f12e0140adc584'
  const signer = await getWallet(seed)

  const entropyAccount = {
    sigRequestKey: signer,
    programModKey: signer
  }

  const entropy = new Entropy.default({ account: entropyAccount })
  await entropy.ready

  console.log('DONE')
}

start()