Staking on Core Channel Nodes

Staking on Aleph's Core Channel Nodes (CCN), is done using Aleph messages.

Stake on a CCN using Ethereum mainnet

Staking on a CCN simply requires you to publish a post message in the correct format. It must feature the following content. You should provide an Ethereum account as a parameter, as well as the node you would like to stake on.

const node_hash = 'ccn_node_hash'

post.Publish({
    account, // An ETHAccount instance
    channel: "FOUNDATION",
    inlineRequested: true,
    storageEngine: ItemType.inline,
    postType: 'corechan-operation',
    content: {
        tags: ['stake-split', 'mainnet'],
        action: 'stake-split'
    },
    ref: node_hash
});

Last updated