GithubHelp home page GithubHelp logo

anyswap / crosschain-bridge Goto Github PK

View Code? Open in Web Editor NEW
279.0 15.0 161.0 82.27 MB

Cross-Chain bridge based on Anyswap MPC network.

License: GNU General Public License v3.0

Makefile 0.06% Go 99.88% Shell 0.03% Dockerfile 0.04%
cross-chain-bridge mpc tss

crosschain-bridge's Introduction

Installation:

Requires Python 3

  1. Clone Uniswap
$ git clone https://github.com/Uniswap/contracts-vyper
$ cd contracts-vyper
  1. Setup virtual environment
$ pip3 install virtualenv
$ virtualenv -p python3 env
$ source env/bin/activate
  1. Install dependencies
pip install -r requirements.txt
  1. (Optional) Switch Vyper compiler to version used in Uniswap verification
cd vyper
git reset --hard 35038d20bd9946a35261c4c4fbcb27fe61e65f78
cd ..
  1. Run tests
$ pytest -v tests/

crosschain-bridge's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

crosschain-bridge's Issues

Bridge Transaction not forwarded to Ethereum

Hello together,

one of my transactions to swap anyUSDT from BSC Blockchain to ETH Blockchain seems to be lost / stuck ?

I hope I'm on the correct place here, as not 100% sure about the repo.
I interacted with https://bscscan.com/address/0xb46d67fb63770052a07d5b7c14ed858a8c90f825 and the owner of that contract is https://bscscan.com/address/0x13b432914a996b0a48695df9b2d701eda45ff264 which is listed as AnySwap Deployer.

Expected Behavior:

Send anyUSDT through the frontend hosted on https://multichain.xyz from BSC to ETH. Get a successful transaction on BSC and retrieve the USDT in another transaction on ETH

Actual Behavior:

Send anyUSDT through the frontend hosted on https://multichain.xyz from BSC to ETH. Get a successful transaction on BSC but never retrieve the funds back on ETH

Description:
This is the transaction on BSC: https://bscscan.com/tx/0xdd925f18f00748c874e1939a6c3b784c5ff93a6d203485fcc62b292f428cb835

(Background) I wanted to bridge USDT from ETH to BSC. I used the frontend and send a successful transaction.
Then I realized that I got anyUSDT on the BSC chain and not USDT. As my amount was to big ($36k anyUSDT), there was not enough liquidity, to swap it into any other asset on anyswap.
So I decided to bridge it back to ETH, swap it to DAI and bridge it again, as I have done a lot of time.

The transaction went fine on the BSC Chain and it seems to have called the correct contract code etc.

Function: Swapout(uint256 amount, address bindaddr) ***

MethodID: 0x628d6cba
[0]:  0000000000000000000000000000000000000000000000000000000861c46800
[1]:  000000000000000000000000152b8c153e4f18bfe1cb3f2eaa563813c758e279

However there were no incoming tx on the ETH chain to be found.
As an additional info it might be a problem that the BSC Chain seem to had some problems regarding connectivity. At least as a MetaMask Frontend user, there were some reports to change the endpoint in case you have problems. I hope it's not related to a networt hickup!

Please help me rescue that money back from the chain as it was a substantial amount for me!

References:

  1. Twitter Mention: https://twitter.com/CoinAddicted/status/1374402008443101186
  2. Twitter Mention: https://twitter.com/CoinAddicted/status/1374481410707234828

Pending ptlkx bsc-ftm bridge

It's been 40mins + and the transaction is still pending, it's the longest I've waited so far and I'm getting anxious.
Here's the tx hash: 0xe23e17cabec931b31f9db256ddc44fbd4c286f6b26d4d21f49b650c12faeef94

BSC Mainnet to Moonriver Mainnet penidng for more then 2 hours

Hello together,

one of my transactions to bridge BUSD from moonriver Blockchain to BSC Blockchain seems to be lost / stuck ?

I hope I'm on the correct place here, as not 100% sure about the repo.
I interacted with
0xf887c733f18636fd46b558a54cf0a2419f8701ce52fac9e4b6c2e3aba1b79ced

please help

Where is the Testnet

How can I see progress of submitted transaction when in testnet?

I spend two days integrating the anycall permissionless bridge. base on your docs
Rinkeby anycall address: 0xf8a363Cf116b6B633faEDF66848ED52895CE703b
Ftm test: anycall address: 0x765277EebeCA2e31912C9946eAe1021199B39C61

A sent my first transaction. Im trying to check status so as stated here..BUT the link is dead. In explorer no testnet! How can I see progress of submitted transaction when in testnet?

This link example provided in the docs is dead as well. In fact several api examples provided in the github docs here don't work anymore. Im wondering if the the permissionless bridge is even ready for production ! There are also many confusing concepts, bridge, router, anycall, anyswap, multichainswap etc. I still don't understand whether i need to use your frontend or build my own. I think a clear developer tutorial from start when when have the token contract, to finish at the point when we test a swap, showing how to integrate the our new tokens should be provided, without assuming the we understand the concept.

Question: How can one access the Multichain Explorer through an API?

This is just a question.. I wanted to do analysis of the most popular flows through the multichain bridge. (Source, Destination, Amount)
But I haven't been able to find an easy way to do this. What would the team recommend or is it possible to access the source that drives the Anyswap explorer view through an API?

Bridge/Router transaction from USDT(BSC) to USDT.e (AVAX) but instead received anyUSDT and can't swap back

Hi

I made a transaction to swap USDT from BSC Network to USDT Avalanche Network, There was liquidity because I checked before continue but received anyUSDT (Avax) anyway, need to recover my USDT (BSC) or USDT (Avax)?

I used https://anyswap.exchange/#/router

This is the transaction
https://bscscan.com/tx/0x108cc068f1c26bd47bee2fd9696d1e76cf0a2e5a8768c3ca9f72b7cd3edce8b3

I made one before an 2 after, and everything was ok, same contacts and everything but with this one I received anyUSDT, I tried to swap back and coudn't because it shows insufficient balance in anyswap and all the exchanges I tried

I wrote pm on twitter to @AnyswapNetwork and a public twit but got not answer

Please Help!!!

pending bidge transaction for more then 16 hours

I made a bridge transfer from eth to moonriver with the anyswap bridge provided on solar.
But my transaction is still pending for mor then 16 hours.

This is the source hash:
0xa8eb0444fd55acfa27188a74151ed239c91b0bc7bd660dda0235a78c0cc704bc

Does anybody has an idea what to do to get this transaction confirmed.

Thank you in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.