Coder Social home page Coder Social logo

fantomcoin's People

Contributors

xdn-project avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fantomcoin's Issues

Context.c:7:10: error: non-portable path to file '"Context.h"'

When I execute make it throws:

$ make
mkdir -p build/release
cd build/release && cmake -D CMAKE_BUILD_TYPE=Release ../..
-- Boost version: 1.60.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   thread
--   date_time
--   chrono
--   regex
--   serialization
--   program_options
--   atomic
-- Found Git: /usr/bin/git
CMake Warning in CMakeLists.txt:
  CMAKE_SKIP_INSTALL_RULES was enabled even though installation rules have
  been specified


-- Configuring done
-- Generating done
-- Build files have been written to: /Users/foo/Downloads/fantomcoin/build/release
cd build/release && /Applications/Xcode.app/Contents/Developer/usr/bin/make
fatal: No names found, cannot describe anything.
CMake Warning at src/version.cmake:3 (message):
  Cannot determine current revision.  Make sure that you are building either
  from a Git working tree or from a source archive.


[  0%] Built target version
[  5%] Built target upnpc-static
[  6%] Built target gtest
[  6%] Built target gtest_main
[ 13%] Built target Common
[ 14%] Built target Rpc
[ 15%] Built target BlockchainExplorer
[ 18%] Built target Serialization
[ 18%] Building C object src/CMakeFiles/System.dir/Platform/OSX/System/Context.c.o
/Users/foo/Downloads/fantomcoin/src/Platform/OSX/System/Context.c:7:10: error: non-portable path to file '"Context.h"'; specified path differs in case from file name on
      disk [-Werror,-Wnonportable-include-path]
#include "context.h"
         ^~~~~~~~~~~
         "Context.h"
In file included from /Users/foo/Downloads/fantomcoin/src/Platform/OSX/System/Context.c:7:
/Users/foo/Downloads/fantomcoin/src/Platform/OSX/System/context.h:20:40: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
extern  void            makecontext(uctx*, void(*)(), intptr_t);
                                                  ^
                                                   void
2 errors generated.
make[3]: *** [src/CMakeFiles/System.dir/Platform/OSX/System/Context.c.o] Error 1
make[2]: *** [src/CMakeFiles/System.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [build-release] Error 2

JSON RPC is here ?

hey i have idea to build some on top of daemon... so for first try in browser i open http://127.0.0.1:24081/json_rp and in console run:

param={
  'jsonrpc':'2.0',
  'id':'test',
  'method':'getStatus',
};

var request =  new XMLHttpRequest();
request.open('POST', 'http://127.0.0.1:24081/json_rpc', true);
request.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
request.onload = function(){
	if (request.status >= 200 && request.status < 400){
		var resp = request.responseText;
		console.log(resp);
	}else{
		alert("OFILINE :( !! ");
	}
};
request.send(JSON.stringify(param));

but response is always

{"error":{"code":-32601,"message":"Method not found"},"id":"test","jsonrpc":"2.0"}

is there any kind of list of supported methods... or i should do something more
by the way i did my try based on https://wiki.bytecoin.org/wiki/Bytecoin_RPC_Wallet_JSON_RPC_API :) because there is not so much docs online

INode Iwallet.

Please i would want to create a web wallet for cryptonote coin where users won't have to run a node or wallet daemon. They will be able create and initialize their wallet with their password, sync with my node, make transactions and others. The clue I have is I can do that with IWallet but my problem is how I will be able to interact with IWallet.

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.