GithubHelp home page GithubHelp logo

zilswap's Introduction

Zilswap

Zilswap is a fully decentralized protocol for ZRC-2 token exchanges on Zilliqa.

Documentation

API docs can be found at docs.zilswap.org.

Deployed Contracts

MainNet

TestNet

Testing

Test suite can be ran with: yarn test. To run only one test: yarn test -t nameOfTest.

On Zilliqa TestNet

To run tests on Zilliqa TestNet, get some testnet ZILs first.

Set the private key of your test account using the PRIVATE_KEY env var.

Set the NETWORK env var to testnet.

These can be done in a .env file in the root of the project, or run inline via: PRIVATE_KEY=xxx NETWORK=testnet yarn test.

On Local Isolated Server

Ensure your isolated server is running without the -t flag (or disable it via -t=0) so that there is no auto-block progression.

For docker builds, this can be modified by running sed -i 's/-t 5000 //' run.sh within the container and then restarting the docker process.

Find the private key of a genesis account and set PRIVATE_KEY=xxx in a .env file in the root of the project or run inline via PRIVATE_KEY=xxx yarn test.

Test

npm test -- bearv2.test.js

zilswap's People

Contributors

0xkyro avatar cheewengg avatar jx-willdo avatar ravenxce avatar snowsledge avatar stevenkhong avatar wdibi avatar yan-soon avatar

Stargazers

 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

zilswap's Issues

Assets which were locked in a pool can't be accessed

Hello, some time a go o locked lunr and zil in a mega pool, with the time, the mega lunr-zil pool became basic pool and I gathered different rewards. Now I'm trying to reclaim them, but now matter how long im waiting. The rewards and my contributions are not showing.

Failed Zilswap Transactions = lost ZIL

Hello! I've now had three failed transactions trying to swap ZIL for XSGD. The first took all of the ZIL that I was attempting to swap plus the fees, and the second and third attempts seem to have taken only fees. But, I'm hoping someone can help me identify what the issue is here, and if I can get my ZIL back.
Screen Shot 2020-10-05 at 12 56 16 PM
Screen Shot 2020-10-05 at 1 25 16 PM
Screen Shot 2020-10-05 at 2 58 35 PM

Account inacessible after failed transaction

On 31st Jan 2021, I made a transaction on ZilSwap.io.

A few minutes later, it failed. trx HASH

Today I was unable to make any other transaction or reconnect my wallet to Zilswap.io or Stake.Zilliqa.Com.

So I removed the extension and reinstalled it.

Using my 12 word seed phrase or my keystore.json has failed to allow me to reconnect to my account. (I have used the same account on multiple other computers.)

I have since contacted Zilpay developers and they pointed out that there is Fail in contract code. I was told that Zilswap developer may have better information on this matter.

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.