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
Clone the repo and install the dependencies | |
``` | |
git clone https://github.com/fuseio/fuse-bridge | |
cd fuse-bridge | |
git checkout feature/find-not-relayed-messages | |
cd fuse-bridge/native-to-erc20/oracle | |
npm install | |
``` | |
Fuse and Ethereum networks are connected via the bridge that relay messages from Fuse network to Ethereum. |
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
pragma solidity >=0.4.22 <0.6.0; | |
interface tokenRecipient { | |
function receiveApproval(address _from, uint256 _value, address _token, bytes calldata _extraData) external; | |
} | |
contract TokenERC20 { | |
// Public variables of the token | |
string public name; | |
string public symbol; |
OlderNewer