comment the posRootChainManager in example util
MODIFY
examples/config.js
examples/config.js
@@ -28,7 +28,7 @@ module.exports = {
erc20: '0x655f2166b0709cd575202630952d71e2bb0d61af',
erc721: '0x5a08d01e07714146747950CE07BB0f741445D1b8',
erc1155: '0x2e3Ef7931F2d0e4a7da3dea950FF3F19269d9063',
- chainManagerAddress: '0x86B4EC021875d0123ED209A333B29D67F9AC6540', // Address of RootChainManager for POS Portal
+ chainManagerAddress: '0xBbD7cBFA79faee899Eaf900F13C9065bF03B1A74', // Address of RootChainManager for POS Portal
erc20Predicate: '0xdD6596F2029e6233DEFfaCa316e6A95217d4Dc34',
erc721Predicate: '0x74D83801586E9D3C4dc45FfCD30B54eA9C88cf9b',
erc1155Predicate: '0xB19a86ba1b50f0A395BfdC3557608789ee184dC8',

MODIFY
examples/utils.js
examples/utils.js
@@ -38,8 +38,8 @@ const getMaticPOSClient = () => {
maticProvider: new HDWalletProvider(privateKey, config.child.rpc),
parentDefaultOptions: { from: userAddress },
maticDefaultOptions: { from: userAddress },
- posRootChainManager: config.pos.parent.chainManagerAddress,
+ //posRootChainManager: config.pos.parent.chainManagerAddress,
// optional, required only if working with ERC20 tokens
// posERC20Predicate: config.pos.parent.erc20Predicate,
// // optional, required only if working with ERC721 tokens

comment the posRootChainManager in example util