3.5.0 (2021-05-28)
- Enable browser back button. (9efa74e)
- Enable remove transfer before lock transaction is made (82e5e07)
- Handle bridging redirect (90fa12c)
- Improve tx modals (b0f366f)
- Make failed transfer from NEAR deletable. (5503293)
- Remove rainbow-bridge-cli to upgrade eth-object (b13b908)
- Upgrade nep141-erc20 with bridging redirect (35e0e75)
- Add eNEAR transfers. (8d180f0)
- Add max amount transfer (e7cdcf7)
- Add nearTxModal to BridgeIt (2387d1a)
- Add tx signing instructions modal (6b015f4)
- Display restored transfer status. (10a0e91)
- Record bridge direction in localStorage. (ffb5121)
3.4.4 (2021-04-20)
- update ethClient contract, order tokens alphabetically (11d42de)
3.4.3 (2021-04-14)
- hide transfers on landing if no transfers (7abacdb)
3.4.2 (2021-04-14)
- always display transfers page as default (7a1476f)
- enable remove transfer before lock transaction is made (621a012)
- enable restore from landing page (02e7f28)
- prevent deleting transfer if it is a withdrawal from NEAR (ea65c83)
- remove css transition on every transfers list render (ba72658)
- reset selection on erc20Modal open (2e90567)
- simplify text on token setup screen (910bdfe)
3.4.1 (2021-04-13)
- handle close modal during switch wallet, center button (39ade05)
- switch wallet from unsuported network (98b3b88)
3.4.0 (2021-04-13)
- remember custom erc20 addresses, tokens with balance on top (92111b9)
3.3.7 (2021-04-07)
- fix amount input field step/min/max rounding (a236f7d)
3.3.6 (2021-04-07)
- update client addr, delete walletconnect on disconnect (92d81ce)
3.3.5 (2021-04-07)
- fixes after rebase (d03d4d3)
- prevent user from double clicking transfer action (186bdf4)
- remove duplicate act() call (1befd94)
- upgrade web3 and walletConnect to fix getTransactionReceipt().status (8b96bec)
3.3.4 (2021-04-06)
- center bridge it! button (36253af)
- fix auto scroll and activate restore (1518374)
- fix banner warning text (52f6fbe)
- fix network dropdown display when mainnet (bd67401)
3.3.3 (2021-04-02)
3.3.2 (2021-04-01)
- requestSignIn requires contractId now (719494a)
3.3.1 (2021-03-31)
3.3.0 (2021-03-31)
- skip approval if enough allowance (9a70f56)
3.2.3 (2021-03-31)
- clean url params on goBack (a482ec8)
3.2.2 (2021-03-31)
- update naj, remove contract access key (85561c8)
3.2.1 (2021-03-19)
- add faucet link (e0ce661)
- add telegram link (7cfe010)
- mainnet launch fixes (a9f40b3)
- update ledger banner (94e262d)
- update telegram link (6066d0e)
3.2.0 (2021-03-19)
- add transfer removal and confirmation (53b54be)
3.1.0 (2021-03-19)
- add tx recovery from deposit hash (850aecf)
- implement new restore design (c02fe83)
- support near and eth recovery (404bca8)
3.0.1 (2021-03-18)
3.0.0 (2021-03-18)
- upgrade to nep141 bridge (d2db524)
- new bridge
2.1.4 (2021-03-12)
2.1.3 (2021-03-10)
- update bridge urls (81b40eb)
2.1.2 (2021-03-09)
- don't query metadata (render) if wrong eth network (0ca2ef0)
- rollback checkStatusAll api change (6ed1a0c)
2.1.1 (2021-03-04)
2.1.0 (2021-03-02)
- web3 modal theme (164608a)
- add bridge selection component (aeae966)
- handle eth network change and bridge selection (73a644c)
- update config.js for single bridge FE deployment (8e1cb1a)
2.0.1 (2021-02-25)
- improve max transfer amount (f76e30c)
2.0.0 (2021-02-25)
- refactor!: use @near-eth npm published package (55ee5c4)
- new TRANSFER_TYPE requires deleting localStorage
- in @near
eth TRANSFER_TYPE is renamed (removed from nep141-erc20)
1.11.1 (2021-02-24)
1.11.0 (2021-02-19)
- support big number transfer amounts (023cae9)
- add token decimal support (c08e23e)
1.10.0 (2021-02-19)
- more robust
get
interface (2b11783)
1.9.11 (2021-02-17)
- update token balances without page refresh (cd1b276)
1.9.10 (2021-02-16)
- bridge-erc20-form trying to load nonsense (0c9ad4c)
1.9.9 (2021-02-16)
1.9.8 (2021-02-15)
- avoid non-user-initiated redirects to NEAR Wallet (52d73ac)
1.9.7 (2021-02-13)
- fix reference to undefined variable (12965ae)
1.9.6 (2021-02-11)
- near→eth transfers: rm security window step (888f6f5)
1.9.5 (2021-02-11)
- show Ropsten or "bad network" banner (030245f)
1.9.4 (2021-02-10)
- ropsten bridge requires 30 confirmations (d87d386)
1.9.3 (2021-02-09)
- [workaround] withdraw by switching auth (678cc56)
- near config & connection settings (fd38350)
- toExponential requires no arg (cfcce1e)
1.9.2 (2021-02-09)
- beautify "bridge NEP21 back to Eth" dropdown (5de9c22)
1.9.1 (2021-02-08)
- show unknown token icon on non-root url (29b28bb)
1.9.0 (2021-02-04)
- document transfers-library-to-be (2406e83)
1.8.4 (2021-02-04)
- transfers actually complete sometimes now (b679d98)
1.8.3 (2021-02-03)
- simplify authenticated-accounts renderer (dee3124)
1.8.2 (2021-02-03)
- update client & prover addresses (d50d23c)
1.8.1 (2021-02-02)
- actually allow sending erc20 across (6f08d5e)
1.8.0 (2021-02-02)
- select erc20 with modal (e159973)
1.7.2 (2021-01-27)
- add cancel buttons (f8b1706)
1.7.1 (2021-01-27)
- styles: re-affix buttons to small screen bottoms (5cecb5a)
- don't show New Transfer form if not authed (04a9a46)
1.7.0 (2021-01-27)
- "new transfer" form (cc945ea)
1.6.0 (2021-01-23)
- "begin new transfer" loads correct next form (b5630e7)
1.5.8 (2021-01-22)
- add (temp) step-size to amount inputs (a7f7469)
1.5.7 (2021-01-22)
- use transfer.recipient instead of window.ethUserAddress (0c2fff7)
1.5.6 (2021-01-22)
- add missing from/to addresses in transfers (6c07caf)
- findProof: accept limited (& correct) args (553167d)
1.5.5 (2021-01-20)
- auto-recheck status for new transfers (a79fe34)
1.5.4 (2021-01-17)
- re-add "token not yet bridged; bridge it" UI (3cbb91b)
1.5.3 (2021-01-17)
- re-enable passing own erc20 by address in URL (b75ac41)
1.5.2 (2021-01-15)
- retries: respond to MetaMask→Reject for lock (d15d16e)
1.5.1 (2020-12-18)
- add calls to bridgedNep21ToErc20 where needed (f8a2e44)
1.5.0 (2020-12-17)
- almost send a Bridged NEP21 back to Ethereum (2f27b96)
1.4.1 (2020-11-01)
- undefined 'get_balance' (6aee36d)
1.4.0 (2020-11-01)
- add UI for selecting a featured ERC20 (fd2f38f)
1.3.1 (2020-10-30)
1.3.0 (2020-10-29)
- BYO ERC20 (ea9de4c)
1.2.0 (2020-10-16)
- simplify borsh handling (61d3c61)
1.1.0 (2020-10-08)
- rm mint_with_json, use borsh serialization (7b311f6)
It works!
This version of the app can successfully send Abundance Tokens (ABND) (a test token you can mint to yourself) from Rinkeby to NEAR Testnet
With legible, framework-free (aka "vanilla JS") code, you can feel confident using this as a starting point for your own "Dapps on the bridge"
What's missing?
- You cannot send the wrapped Abundance Tokens (
nABND
) back to Ethereum - You cannot send a different ERC20 without deploying your own "Connector" contracts. Soon there will be a generic connector that will allow sending any ERC20 across the bridge. It will also let you send native NEAR fungible tokens (the NEP21 standard) to Ethereum and back again.
- The code in
transfers.js
needs to be extracted to a library
In addition, some details about how the Rainbow Bridge currently works are under active development. This app will be updated to reflect these changes, with semantic versioning used to indicate the severity of the change.