renproject / bridge-v2 Goto Github PK
View Code? Open in Web Editor NEWAn easy way to bridge cross-chain assets between blockchains.
Home Page: https://bridge.renproject.io
License: MIT License
An easy way to bridge cross-chain assets between blockchains.
Home Page: https://bridge.renproject.io
License: MIT License
If you want to enable to hot-reloading without a page refresh, you can make following changes to index.tsx
. The downsides are that 1) there might be some extra steps required once state management is added, and 2) currently new notifications get added to the catalog after each change but don't get removed. Feel free to ignore the issue if that sounds more annoying than useful.
Lines 11 to 18 in 68117e1
const render = (Component: () => JSX.Element) => {
ReactDOM.render(
<MuiThemeProvider theme={lightTheme}>
<NotificationsProvider>
<Component />
</NotificationsProvider>
</MuiThemeProvider>,
document.getElementById("root"),
);
};
render(App);
// Enable hot-reloading in development environment.
if ((module as any).hot) {
(module as any).hot.accept("./App", () => {
const NextApp = require("./App").default;
render(NextApp);
});
}
where open 'https://bridge.renproject.io/' in dapp of metamask,such a problem occurs
If you didn't know, there was a recently an update to the dogecoin network to decrease the amount of fees needed to transfer DOGE.
Before it was 4-5 DOGE, now transactions with 0.001 DOGE (1000 sat/b) attached to them confirm in 1 minute.
I notice that the REN bridge (https://bridge.renproject.io) still asks for a 5 DOGE miner fee to bridge DOGE to renDOGE.
Are there any plans to support the new DOGE fees? It would significantly make bridging much more frictionless.
Current fees:
500 DOGE -> 493.13 renDOGE (-1.37%)
New fees:
500 DOGE -> 498.12 renDOGE (-0.37%)
❯ yarn start
yarn run v1.22.18
$ cross-env GENERATE_SOURCEMAP=false react-app-rewired start
/bin/sh: cross-env: command not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
❯ yarn add cross-env
yarn add v1.22.18
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
warning Pattern ["ethereumjs-abi@git+https://github.com/ethereumjs/ethereumjs-abi.git"] is trying to unpack in the same destination "/Users/msmyers/Library/Caches/Yarn/v6/npm-ethereumjs-abi-0.6.8-integrity/node_modules/ethereumjs-abi" as pattern ["ethereumjs-abi@^0.6.8"]. This could result in non-deterministic behavior, skipping.
[3/4] 🔗 Linking dependencies...
warning "@renproject/chains-solana > @project-serum/[email protected]" has incorrect peer dependency "@solana/web3.js@^0.86.1".
warning "@renproject/multiwallet-ethereum-mewconnect-connector > @myetherwallet/mewconnect-web-client > @rollup/[email protected]" has unmet peer dependency "rollup@^1.20.0||^2.0.0".
warning "@renproject/multiwallet-ethereum-mewconnect-connector > @myetherwallet/mewconnect-web-client > @rollup/[email protected]" has unmet peer dependency "rollup@^2.38.3".
warning "@renproject/multiwallet-ethereum-mewconnect-connector > @myetherwallet/mewconnect-web-client > @rollup/[email protected]" has unmet peer dependency "rollup@^1.20.0 || ^2.0.0".
warning "@renproject/multiwallet-ethereum-mewconnect-connector > @myetherwallet/mewconnect-web-client > @rollup/plugin-babel > @rollup/[email protected]" has unmet peer dependency "rollup@^1.20.0||^2.0.0".
warning " > @testing-library/[email protected]" has unmet peer dependency "@testing-library/dom@>=5".
warning " > [email protected]" has incorrect peer dependency "[email protected]".
warning "react-scripts > [email protected]" has unmet peer dependency "autoprefixer@^10.0.2".
warning "react-scripts > eslint-config-react-app > [email protected]" has unmet peer dependency "@babel/plugin-syntax-flow@^7.14.5".
warning "react-scripts > eslint-config-react-app > [email protected]" has unmet peer dependency "@babel/plugin-transform-react-jsx@^7.14.9".
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning "[email protected]" is missing a bundled dependency "node-pre-gyp". This should be reported to the package maintainer.
[4/4] 🔨 Building fresh packages...
success Saved lockfile.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
success Saved 1 new dependency.
info Direct dependencies
└─ [email protected]
info All dependencies
└─ [email protected]
✨ Done in 7.06s.
❯ yarn start
Starting the development server...
Compiled successfully!
You can now view bridge-v2 in the browser.
Local: http://localhost:3000
On Your Network: http://192.168.1.192:3000
Note that the development build is not optimized.
To create a production build, use yarn build.
assets by path static/media/ 150 KiB
assets by path static/media/*.svg 31.3 KiB
asset static/media/renbridge-logo.9947ed8ebd97c1248c9cd2ff2055edc7.svg 5.69 KiB [emitted] (auxiliary name: main)
+ 19 assets
assets by path static/media/*.woff2 118 KiB
asset static/media/SuisseIntl-Black-WebS.fa2b0e922a98f1fd0a84.woff2 17.9 KiB [emitted] [immutable] [from: node_modules/@renproject/fonts/lib/assets/SuisseIntl/SuisseIntl-Black-WebS.woff2] (auxiliary name: main)
+ 6 assets
asset static/media/getFetch.582d29c4edd452c2f434.cjs 478 bytes [emitted] [immutable] [from: node_modules/i18next-http-backend/esm/getFetch.cjs] (auxiliary name: main)
assets by path static/js/*.js 27.5 MiB
asset static/js/bundle.js 21.4 MiB [emitted] (name: main) 1 related asset
asset static/js/vendors-node_modules_myetherwallet_mewconnect-web-client_dist_esm_index_js.chunk.js 6.02 MiB [emitted] (id hint: vendors) 1 related asset
asset static/js/src_pages_AboutPage_tsx.chunk.js 11.9 KiB [emitted] 1 related asset
asset static/js/_da9b-_96ce-_f9d4-_7a28-_1bcf-_b3ef.chunk.js 1.07 KiB [emitted] 1 related asset
asset asset-manifest.json 3.89 KiB [emitted]
asset index.html 2.4 KiB [emitted]
orphan modules 4.67 MiB [orphan] 6220 modules
runtime modules 33 KiB 18 modules
built modules 22.5 MiB (javascript) 121 KiB (asset) [built]
modules by path ./node_modules/ 21.3 MiB (javascript) 119 KiB (asset)
javascript modules 20.4 MiB 2803 modules
json modules 952 KiB 86 modules
asset modules 336 bytes (javascript) 119 KiB (asset) 8 modules
modules by path ./src/ 1.21 MiB (javascript) 2.51 KiB (asset)
javascript modules 1.12 MiB 152 modules
json modules 86.5 KiB
./src/i18n/locales/en.json 19.7 KiB [built] [code generated]
+ 5 modules
./src/assets/backgrounds/background.svg 42 bytes (javascript) 2.51 KiB (asset) [built] [code generated]
+ 29 modules
webpack 5.70.0 compiled successfully in 61318 ms
No issues found.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.