This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Detection speed comparison: | |
| 2025-08-01 16:13:25,941 - INFO - Token | BlockListener | LogsListener | GeyserListener | Fastest | |
| 2025-08-01 16:13:25,941 - INFO - -------------------------------------------------------------------------------- | |
| 2025-08-01 16:13:25,941 - INFO - 4KGpvZmaMH... | N/A | 1754035998.592595 | 1754035998.294089 | GeyserListener | |
| 2025-08-01 16:13:25,941 - INFO - Eq9v5uzcVe... | N/A | 1754035989.122697 | 1754035988.443188 | GeyserListener |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.helloBlock.flows; | |
| import co.paralleluniverse.fibers.Suspendable; | |
| import net.corda.core.flows.*; | |
| import net.corda.core.transactions.SignedTransaction; | |
| @InitiatedBy(helloBlockFlow.class) | |
| public class helloBlockFlowResponder extends FlowLogic<SignedTransaction> { | |
| private FlowSession counterpartySession; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.helloBlock.flows; | |
| import com.helloBlock.contracts.helloBlockContract; | |
| import com.helloBlock.states.helloBlockState; | |
| import co.paralleluniverse.fibers.Suspendable; | |
| import com.google.common.collect.ImmutableList; | |
| import com.google.common.collect.ImmutableSet; | |
| import net.corda.core.contracts.Command; | |
| import net.corda.core.contracts.StateAndContract; | |
| import net.corda.core.flows.*; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.helloBlock.states; | |
| import com.helloBlock.contracts.helloBlockContract; | |
| import com.google.common.collect.ImmutableList; | |
| import net.corda.core.contracts.BelongsToContract; | |
| import net.corda.core.contracts.ContractState; | |
| import net.corda.core.identity.AbstractParty; | |
| import net.corda.core.serialization.ConstructorForDeserialization; | |
| import net.corda.core.serialization.CordaSerializable; | |
| import java.util.List; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.helloBlock.contracts; | |
| import net.corda.core.contracts.CommandData; | |
| import net.corda.core.contracts.CommandWithParties; | |
| import net.corda.core.contracts.Contract; | |
| import net.corda.core.contracts.TypeOnlyCommandData; | |
| import net.corda.core.transactions.LedgerTransaction; | |
| import com.helloBlock.states.helloBlockState; | |
| import org.jetbrains.annotations.NotNull; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.helloBlock.flows | |
| import com.helloBlock.contracts.helloBlockContract | |
| import com.helloBlock.states.helloBlockState | |
| import co.paralleluniverse.fibers.Suspendable | |
| import net.corda.core.contracts.Command | |
| import net.corda.core.contracts.StateAndContract | |
| import net.corda.core.flows.* | |
| import net.corda.core.identity.Party | |
| import net.corda.core.transactions.SignedTransaction |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.helloBlock.states | |
| import com.helloBlock.contracts.helloBlockContract | |
| import net.corda.core.contracts.BelongsToContract | |
| import net.corda.core.contracts.ContractState | |
| import net.corda.core.identity.Party | |
| // ********* | |
| // * State * | |
| // ********* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.helloBlock.contracts | |
| import net.corda.core.contracts.* | |
| import net.corda.core.contracts.Requirements.using | |
| import net.corda.core.transactions.LedgerTransaction | |
| import com.helloBlock.states.helloBlockState | |
| // ************ | |
| // * Contract * | |
| // ************ |