@stellar-passkey/core API / DeployerCallbacks
Interface: DeployerCallbacks
Defined in: packages/core/src/deployer.ts:39
Methods
bootstrapAdmin()
bootstrapAdmin(
params):Promise<void>
Defined in: packages/core/src/deployer.ts:55
Call add(credentialId, publicKey, admin=true) on the freshly-deployed contract to seed the passkey as the bootstrap admin signer. The contract's first add call does NOT require require_auth (bootstrap branch — see packages/contract/src/lib.rs), so this can be submitted with only the deployer paying the fee.
Parameters
params
Returns
Promise<void>
deployContract()
deployContract(
params):Promise<string>
Defined in: packages/core/src/deployer.ts:46
Instantiate a new wallet contract instance from the published WASM and return its C-address. Implementations build a CreateContract host function operation, sign + submit, and resolve once the transaction is confirmed.
Parameters
params
Returns
Promise<string>