Reproduction for the The transaction reverted with an unknown reason: 123
error when inter calling a contract.
This example works with testnet and requires the fuel browser wallet extension.
npm install
cp .env.example .env.local
npm run dev
- Navigate to
http://localhost:3000
- Open the developer console
- Press the fetch button in the middle of the screen
- The cross chain contact can be found at
pyth-crosschain
- The inter contract call contract can be found at
sway-programs
- The TS code that interacts with the contracts can be found at
src/pages/index.tsx