function sendMessage() public returns ( bool ) {
//send bridge message
address[] memory addresses = new address[](1);
uint256[] memory integers = new uint256[](1);
string[] memory strings = new string[](1);
bool[] memory bools = new string[](1);
PortContract(bridgePort).outboundMessage{value: 1}(
address(this),
0x0000000000000000000000000000000000000000,
addresses, integers,
strings, bools,
"ETH-Rinkeby"
);
}
function recieveMessage() public returns ( bool ) {
//send bridge message
address[] memory addresses = new address[](1);
uint256[] memory integers = new uint256[](1);
string[] memory strings = new string[](1);
bool[] memory bools = new string[](1);
PortContract(bridgePort).outboundMessage{value: 1}(
address(this),
0x0000000000000000000000000000000000000000,
addresses, integers,
strings, bools,
"ETH-Rinkeby"
);
}
Node schedule and price
Telegraph nodes operate trustlessly, with all verification mechanisms occurring on each supported blockchain. We keep fees low where your smart contract users only have to pay the gas fees + Telegraph fee.
The no-premine model for Telegraph tokens (MSG) offers several significant advantages over a premined model. It ensures that all participants have an equal opportunity to earn tokens from the outset, fostering a more balanced and equitable distribution. In a premined model, developers mine coins before they become public, often leading to centralization of the token supply and putting the general public at a disadvantage. By contrast, the no-premine model promotes fairness and aligns with the distributed and open nature of blockchain.
Transparency is another key benefit of the no-premine model. With all token minting activities occurring in real-time on the blockchain, participants can monitor and verify the processes. This openness promotes trust within the community, which is crucial for establishing credibility and confidence, especially in the early stages of a cryptocurrency’s lifecycle.
The no-premine model is highly adaptable to the cross-chain operations integral to the Telegraph protocol. For instance, if a bridge transfer involves different blockchains, such as from Ethereum (ETH) to Polygon (MATIC), Telegraph tokens are minted on the MATIC blockchain. From that point, it becomes the responsibility of the node’s owner to claim their accrued MSG from the MATIC chain.
Telegraph tokens (MSG) are minted in response to each successful cross-chain message transmission. This minting process serves as an incentive mechanism for validators, rewarding them for their participation and contributions to the network.
Token Distribution for the First 20 Nodes after 100k Transactions
Distribution of tokens with each node joining 5,000 transactions after the other
From that point, when nodes mint new tokens, they may opt to sell the tokens for what little liquidity is in the pool. These transactions will immediately crash the price and more liquidity will need to be deposited in order to entice node owners to sell. This is where Telegraph’s fees large role in constructing the protocol’s economy. Each cross-chain request charges a fee of $1 calculated in the source chain’s coin price. This fee is routed into the liquidity pool, slightly raising liquidity as more transactions occur. By the time the Telegraph network processes 1 million transactions, $1 million would have been distributed into the various supported liquidity pools.
Nodes that complete transactions get rewarded with Telegraph tokens called $MSG.
Anyone can run a node and join the telegraph network. All participants must pay a fee in a token supported by Telegraph smart contracts.