Nerif Docs
  • Quickstart
  • Tutorials
    • Lottery Tutorial
      • Step 1. Configure your account
      • Step 2. Add a smart contract
      • Step 3. Create a new automation workflow
      • Step 4. Build your automation workflow
      • Step 5. Test workflow execution
    • Bridge Tutorial
      • Step 1. Configure your account
      • Step 2. Add smart contracts
      • Step 3. Create a new automation workflow
      • Step 4. Build your automation workflow
      • Step 5. Test workflow execution
    • Price Feed Tutorial
      • Step 1. Configure your account
      • Step 2. Add smart contract
      • Step 3. Create a new automation workflow
      • Step 4. Build your automation workflow
  • 1. What is Nerif Network?
    • Our Mission
    • Our Vision
    • Terms
  • 2. Architecture
    • Core components
    • Validators
      • Networking
        • Bootnode
        • Joining the network
        • Leaving the network
        • Slashing
      • Consensus
        • Epoch & Rounds
        • Automation workflow
          • Triggers
          • Actions
          • Condition
    • Contracts
      • System Contracts
      • Operational Contracts
    • Security
      • DKG
      • Threshold ECDSA
      • Security checks
  • 3. How it works
    • Introduction
    • Nerif App
    • Login
    • Account Configuration
      • 1. Deploy a Gateway Contract
        • 1.1 Create a new gateway
        • 1.2. Use existing gateway contract
        • 1.3.What if I want to update my gateway contract?
      • 2. Top up your balance
        • 2.1. Topping up your balance on Polygon Mumbai
        • 2.2. Topping up your balance on Ethereum Goerli
    • Fees
    • User balance
      • 1. Topping up the balance
        • 1.1 Top up your balance via Nerif App
        • 1.2 Top up your balance directly via Registry smart contract
      • 2. Withdraw from balance
        • 2.1 Withdraw via Nerif App
        • 2.2 Withdraw directly via Registry smart contract
    • API
      • Off-chain APIs
      • On-chain APIs
    • SDK
  • 5. Nerif DAO
    • Governance
    • Treasury
    • Proposal process
  • 6. Support
Powered by GitBook
On this page
  1. Tutorials
  2. Bridge Tutorial

Step 5. Test workflow execution

PreviousStep 4. Build your automation workflowNextPrice Feed Tutorial

Last updated 1 year ago

Now, it’s time to test our automation workflow by sending a message from Ethereum Goerli to Polygon Mumbai.

First, open the NerifBridge smart contract deployed to Ethereum Goerli on etherscan.

Click on “Contract” and then press “Write Contract”.

After that, click on the function “6. send” which will open a new tab with 4 fields to complete.

Enter the relevant inputs for sending a message from Ethereum Goerli to Polygon Mumbai:

  1. ChainId - enter the chain ID of the Polygon Mumbai network (80001)

  2. Target - enter the address of the TestReceiver smart contract we previously deployed on Polygon Mumbai

  3. Payload - enter the data we want to send, which should be hex-encoded

  4. GasAmount - enter the gas limit for the transaction from NerifBridge smart contract deployed to Polygon Mumbai to the TestReceiver smart contract on the same chain.

After that, just click on “Write” - and voila - the data is sent from Ethereum Goerli to Polygon Mumbai!