Coder Social home page Coder Social logo

parkerb2001 / chat-swap Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 653 KB

A simple token swapping DAPP built upon the 0x protocol allowing for users to trade tokens with added social and required elements.

CSS 0.04% HTML 0.53% JavaScript 44.86% TypeScript 54.58%
defi ethereum dapp social-network blockchain token-swap cryptocurrency

chat-swap's People

Contributors

parkerb2001 avatar

Watchers

 avatar  avatar

chat-swap's Issues

Babel will not allow production builds to be compiled

Babel gives the following error src/constants/ABI.js Line 0: Parsing error: You appear to be using a native ECMAScript module configuration file, which is only supported when running Babel asynchronously for every constant file. Not sure why and have tried debugging with online resources that have had the same issue. There are multiple workarounds I don't like, such as putting all constant values in each script that uses them individually, or running the deployment in debug mode. I am going to avoid that as much as possible though.

Manually inputting ethereum as sell token causes error

Manually inputting ethereum as sell token causes error: Parameter decoding error: Returned values aren't valid, did it run Out of Gas? You might also see this error if you are not using the correct ABI for the contract you are retrieving data from, requesting data from a block number that does not exist, or querying a node which is not fully synced. AbiError: Parameter decoding error: Returned values aren't valid, did it run Out of Gas? You might also see this error if you are not using the correct ABI for the contract you are retrieving data from, requesting data from a block number that does not exist, or querying a node which is not fully synced. at decodeParametersWith (http://localhost:3000/static/js/bundle.js:181336:11) at decodeParameters (http://localhost:3000/static/js/bundle.js:181443:42) at decodeMethodReturn (http://localhost:3000/static/js/bundle.js:190296:80) at ContractBuilder.<anonymous> (http://localhost:3000/static/js/bundle.js:189967:80) at Generator.next (<anonymous>) at fulfilled (http://localhost:3000/static/js/bundle.js:189468:24)

This is definitely due to the script trying to use an ABI function with web3.js on the ethereum proxy address "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" which is not an ERC-20 contract. This also bugs all web3 functions that use the 0x contract ABI. Will fix.

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.