
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@gooddollar/bridge-app
Advanced tools
fusenet/config
to exists where the private key isPRIVATE_KEY
and MNEMONIC
(see below how to set env variables)curl https://raw.githubusercontent.com/GoodDollar/GoodBridge/master/packages/bridge-app/dockerstart.sh -o dockerstart.sh
chmod u+x dockerstart.sh
./dockerstart.sh
import { BridgeSDK } from "@gooddollar/bridge-app/dist/sdk.js";
// blockheaderregistry contract
const registry = "0x44a1E0A83821E239F9Cef248CECc3AC5b910aeD2";
// your custom bridges contracts implementing BridgeCore, key is chainId and value the bridge contract
const bridges = {"122":"0x...","1":"0x..."};
//the checkpoint update frequency
const stepSize = 10;
const bridgeSDK = new BridgeSDK(
registry,
bridges,
stepSize
);
// relayTx = async (sourceChainId: number, targetChainId: number, txHash: string, signer: Signer)
// this will fetch the signed block from the registry and the receipt proof for that txHash and submit them
// to the bridge contract
const = { relayTxHash, relayPromise } = await sdk.relayTx(sourceChain, targetChain, txHash, signer)
-e
.env
file in your local fusenet/config
folder, env vars defined in this file will override any defined via -e
bridge-contracts
package the command yarn start:dev
yarn test
FAQs
Minimalistic bridge
The npm package @gooddollar/bridge-app receives a total of 29 weekly downloads. As such, @gooddollar/bridge-app popularity was classified as not popular.
We found that @gooddollar/bridge-app demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.