
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
multichain-interop-js
Advanced tools
A simple Web3 wallet connector supporting Ethereum, Solana, Tron, and Arbitrum.
TypeScript SDK for FullOn Network blockchain interoperability with other multiple supported chains for transaction operations, supporting login signatures and transaction submissions for mainstream blockchains such as Ethereum, BSC, Arbitrum, Solana and Tron.
npm install multichain-interop-js
# or
yarn add multichain-interop-js
EthereumBSCArbitrumSolanaTronimport MultichainInteropJs, { AccountInfo, ChainType } from 'multichain-interop-js';
// Initialize configuration (update chainApi URL when necessary)
MultichainInteropJs.setConfig({
chainApi: "https://m.flonscan.io",
proxyApi: "https://proxy.flon.network/proxy",
ownerContract:"interopowner",
defaultDelay: 3000,
});
// Ethereum Login
const ethLogin = async () => {
try {
const account: AccountInfo | string = await MultichainInteropJs.loginByChain('eth' as ChainType);
if(typeof account === 'string'){
console.log('errorMsg',account)
}else{
console.log('successObject',account)
}
} catch (error) {
console.error('Login failed:', error);
}
};
// Solana Login
const solanaLogin = async () => {
const account: AccountInfo | string = await MultichainInteropJs.loginByChain('solana' as ChainType);
if(typeof account === 'string'){
console.log('errorMsg',account)
}else{
console.log('Solana public key',account?.address)
}
};
const sendTransaction = async () => {
const result = await MultichainInteropJs.transactByChain(
'eth', // Chain Type
'0x123...4ow', // User address
[{ // Transaction parameters
contract: 'abc.contract', //update contract accordingly
action: 'transfer',
data: {
from: 'apl...eg',
to: 'apl...ee',
quantity: '1.0000 ETH'
}
}]
);
if (result.includes('success:')) {
console.log('Transaction confirmed!');
}else{
console.log('errorMsg',result)
}
};
FAQs
A simple Web3 wallet connector supporting Ethereum, Solana, Tron, and Arbitrum.
The npm package multichain-interop-js receives a total of 19 weekly downloads. As such, multichain-interop-js popularity was classified as not popular.
We found that multichain-interop-js demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.