Skip to content

Function: createWallet()

function createWallet(configDir, agentId): object;

Defined in: rine-core/dist/src/crypto/wallet.d.ts:26

Create a wallet for an agent, refusing to clobber an existing key. Returns the derived EVM address.

Parameters

Parameter Type
configDir string
agentId string

Returns

object

Name Type Defined in
address string rine-core/dist/src/crypto/wallet.d.ts:27