npm install @fuel-bridge/solidity-contracts
import {
FuelChainState,
FuelMessagePortal,
} from '@fuel-bridge/solidity-contracts/abi';
console.log('FuelChainState', FuelChainState);
console.log('FuelMessagePortal', FuelMessagePortal);
For importing typechain you project should be configured with typescript support:
import {
FuelChainState__factory,
FuelMessagePortal__factory,
} from '@fuel-bridge/solidity-contracts/typechain';
FuelChainState__factory.connect(/*...*/);
FuelMessagePortal__factory.connect(/*...*/);
For importing the Solidity contracts use @fuel-bridge/solidity-contracts/contracts/...
The primary license for this repo is Apache 2.0
, see LICENSE
.
ExcessivelySafeCall.sol
is licensed underMIT OR Apache-2.0
(as indicated in the SPDX headers) by Nomad.