@cfxlabsinc/b2b-services
    Preparing search index...

    Module @cfxlabsinc/solana-services

    solana-services

    Services and helpers for interacting with Solana blockchain

    You need nonce accounts on-chain and in your local DB to be able to execute durable transactions.

    If you have some existing nonce accounts, you can simply add them to your local DB:

    insert b2b.solana_nonce_pool (address, status)
    VALUES
    ('<public key>', 'AVAILABLE');
    Warning

    Do not use nonce accounts from Dev DB in your local DB. It will cause conflicts and false negatives in both environments.

    Alternatively, you can use the fill-up workflow to populate your local db. The fill-up workflow does not run on a schedule in local environment. Instead execute the workflow on ad-hoc basis:

    temporal workflow start \
    --env cfx-b2b-dev \
    --task-queue <match to what's configured in app> \
    --type fillSolanaNoncePoolWorkflow \
    --workflow-id fill-solana-nonce-pool \
    --input '{ "count": 3 }'
    Tip

    If you are connecting to the dev environment for Temporal control plan (while still running local workers on your personal task queues), you can configure an environment in temporal CLI:

    temporal env set cfx-b2b-dev.namespace b2b-dev.qebt8
    temporal env set cfx-b2b-dev.address b2b-dev.qebt8.tmprl.cloud:7233
    temporal env set cfx-b2b-dev.tls-cert-path ~/.temporal/cfx-b2b-dev.pem
    temporal env set cfx-b2b-dev.tls-key-path ~/.temporal/cfx-b2b-dev.key

    Modules

    index
    index
    workflows
    workflows