0.0.4 • Published 1 year ago

@credenza3/contracts-lib-sui v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

contracts-lib-sui

ESM

import { CredenzaSuiClient, ENVIRONMENT_RPC } from '@credenza3/contracts-lib-sui/client'
import { getCredenzaSuiSigner } from '@credenza3/contracts-lib-sui/signer'

CommonJS

const { CredenzaSuiClient, ENVIRONMENT_RPC } = require('@credenza3/contracts-lib-sui/client')
const { getCredenzaSuiSigner } = require('@credenza3/contracts-lib-sui/signer')

UMD

<script src="https://cdn.jsdelivr.net/npm/@credenza3/contracts-lib-sui/dist/umd/client/index.js" type="application/javascript"></script>
<script src="https://cdn.jsdelivr.net/npm/@credenza3/contracts-lib-sui/dist/umd/signer/index.js" type="application/javascript"></script>

<script>
  const { CredenzaSuiClient, ENVIRONMENT_RPC } = window.CredenzaContractsSui_client
  const { getCredenzaSuiSigner } = window.CredenzaContractsSui_signer
</script>

Usage

const signer = await getCredenzaSuiSigner({ accessToken: string; sponsoredTransactions?: boolean = false})

const client = new CredenzaSuiClient({
  rpc: ENVIRONMENT_RPC.TESTNET,
  packageId: '0x...',
  signer: signer || Signer,
})
0.1.9

12 months ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.1.0-rc.4

1 year ago

0.1.0-rc.3

1 year ago

0.1.0-rc.2

1 year ago

0.1.0-rc.1

1 year ago

0.1.0-rc.0

1 year ago

0.0.6

1 year ago

0.1.0-alpha.2

1 year ago

0.1.0-alpha.1

1 year ago

0.1.0-alpha.0

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago