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.