Menu
COMITDeveloper HubBlog
Versions
  • v0.15.2
  • v0.14.1
  • v0.13.0
GitHub
COMITDeveloper Hub
  • Blog
  • Versions
    • v0.15.2
    • v0.14.1
    • v0.13.0
  • GitHub
  • Getting Started
    • Create-comit-app
  • COMIT Protocol
    • COMIT protocol stack
    • COMIT projects
  • Core Concepts
    • Atomic Swaps using HTLCs
    • Instant Swaps
    • Privacy Preserving Swaps
    • Negotiation vs. Execution
  • COMIT Javascript SDK
    • README
    • Modules
      • __mocks__/bitcoin_wallet
      • actor
      • bitcoin_wallet
      • cnd/__mocks__/cnd
      • cnd/action_to_http_request
      • cnd/cnd
      • cnd/siren
      • comit_client
      • ethereum_wallet
      • lightning_wallet
      • lnd
      • negotiation/execution_params
      • negotiation/maker/negotiator
      • negotiation/maker/swap_order_matching
      • negotiation/order
      • negotiation/taker/__mocks__/maker_client
      • negotiation/taker/maker_client
      • negotiation/taker/negotiator
      • negotiation/taker/order
      • swap
      • tokens/definitions
      • tokens/tokens
      • util/timeout_promise
    • Interfaces
      • Actor
      • BitcoinWallet
      • Asset
      • BitcoinBroadcastSignedTransactionPayload
      • BitcoinSendAmountToAddressPayload
      • EthereumCallContractPayload
      • EthereumDeployContractPayload
      • GetInfo
      • Ledger
      • LndAddHoldInvoicePayload
      • LndSendPaymentPayload
      • LndSettleInvoicePayload
      • Peer
      • SwapDetails
      • SwapProperties
      • SwapRequest
      • SwapSubEntity
      • Action
      • EmbeddedLinkSubEntity
      • Entity
      • Field
      • FieldValueObject
      • Link
      • Outpoint
      • ExecutionParams
      • LedgerParams
      • Order
      • OrderAsset
      • MatchingCriteria
      • MatchingCriteriaAsset
      • Token
      • TryParams
    • Classes
      • MockBitcoinWallet
      • InMemoryBitcoinWallet
      • Cnd
      • ComitClient
      • EthereumWallet
      • LightningWallet
      • Lnd
      • HttpService
      • Negotiator
      • MakerClient
      • Negotiator
      • Order
      • Swap
    • Enums
      • NetworkType
Version: 0.13.0

actor

#Index

#Interfaces

  • Actor

#Functions

  • createActor

#Functions

#createActor

▸ createActor(bitcoinWallet: BitcoinWallet, ethereumWallet: EthereumWallet, cndUrl: string, name?: undefined | string): Promise‹Actor›

Defined in actor.ts:18

Parameters:

NameType
bitcoinWalletBitcoinWallet
ethereumWalletEthereumWallet
cndUrlstring
name?undefined | string

Returns: Promise‹Actor›

Edit this page
Previous
« __mocks__/bitcoin_wallet
Next
bitcoin_wallet »
  • Index
    • Interfaces
    • Functions
  • Functions
    • createActor

Community

  • Matrix
Copyright © 2022 CoBloX