Project Icarus - Cardano ADA wallet - Git Fail

This is open source right?

But for me gives error:

**ubuntu@ip-172-31-21-95** : **~** $ git clone --recursive git@github.com:input-output-hk/icarus-poc.git

Cloning into 'icarus-poc'...

Warning: Permanently added the RSA host key for IP address '192.30.253.112' to the list of known hosts.

Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

Backend same thing:

**ubuntu@ip-172-31-21-95** : **~/ICARUS** $ sudo git clone git@github.com:input-output-hk/icaraus-poc-backend-service.git

Cloning into 'icaraus-poc-backend-service'...

The authenticity of host 'github.com (192.30.253.112)' can't be established.

RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.

Are you sure you want to continue connecting (yes/no)? 

Host key verification failed.

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

Doing it the normal way gets the code, but is it right?? 


**ubuntu@ip-172-31-21-95** : **~/ICARUS** $ git clone https://github.com/input-output-hk/project-icarus-chrome.git

Cloning into 'project-icarus-chrome'...

remote: Counting objects: 7454, done.

remote: Compressing objects: 100% (16/16), done.

remote: Total 7454 (delta 7), reused 2 (delta 0), pack-reused 7438

Receiving objects: 100% (7454/7454), 20.79 MiB | 7.00 MiB/s, done.

Resolving deltas: 100% (5117/5117), done.

Checking connectivity... done.

**ubuntu@ip-172-31-21-95** : **~/ICARUS** $ git clone https://github.com/input-output-hk/project-icarus-backend-service.git

Cloning into 'project-icarus-backend-service'...

remote: Counting objects: 766, done.

remote: Compressing objects: 100% (85/85), done.

remote: Total 766 (delta 57), reused 58 (delta 29), pack-reused 652

Receiving objects: 100% (766/766), 19.09 MiB | 8.77 MiB/s, done.

Resolving deltas: 100% (409/409), done.

Checking connectivity... done.

nvm isn’t installing for me, but i got it working by;

git clone http://github.com/creationix/nvm.git .nvm

adding this line at the end of ~/.profile

[[ -s $HOME/.nvm/nvm.sh ]] && . $HOME/.nvm/nvm.sh # This loads NVM

logging out and back in.

It’s running, listening on 8080

ubuntu@ip-172-31-21-95:~/ICARUS$ netstat -tlpn
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -               
tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN      -               
tcp6       0      0 :::8080                 :::*                    LISTEN      31015/node      
tcp6       0      0 :::80                   :::*                    LISTEN      -               
tcp6       0      0 :::22                   :::*                    LISTEN      -    

Is it supposed to connect to the IOHK node, or what? doesn’t seem to be doing anything.

The developers section here gets a bit quiet sometimes. You might get more response on the Telegram channel: @CardanoDevelopersOfficial

Thx. I’m just keeping a log of what I do. Maybe if I overcome the issues I can update later - may help someone else.

1 Like

The Icarus - Wallet project built fine, all steps as expected
 I installed the “unpaked” version in my local Chrome.

30

You can see it here, it is the funny 3 angled lines. However, again, it doesn’t “do anything”. I click on it, but zilch.

I don’t know what I was expecting, but something like metamask I guess. It literally does nothing - Am I missing something?

Am I missing something?

The fact that Icarus isn’t supposed to be an “it just works” client. It’s not impossible to run it, but it needs proper configuration. The upcoming Yoroi wallet, a fork of Icarus, will be easy to install and use.

I know, but I want to run it.

Seems like it needs this URL, it’s in the manifest but it can’t be executed.

**ubuntu@ip-172-31-21-95** : **~/ICARUS/project-icarus-chrome** $ curl https://lld5qq5jl5.execute-api.us-east-1.amazonaws.com

{"message":"Forbidden"}

You should configure SSH for GitHub to be able to make git clone git@github.com:... , I guess.

I’m interested in Icarus project too. I need to run backend and importer for my own app. If anybody has positive experience of building and running Icarus backend and importer (for testnet for now) - please, share it.

I’d like to write my own wallet for mobiles, but not sure how difficult that would be. If they documented the calls to the Icarus-Backend and the regular FullNode (believe the light wallets still need to talk to the FullNodes for some things) then that would be a start to figuring out what’s going on
 However people did say in the Developer Telegram to wait for Yoroi
 Possibly because they thought I just wanted to use a light wallet, but also possibly because they are still restructuring how the light wallets work and it’s best to wait, idk.

In anycase, I wouldn’t really want to use their Node.js stuff, I would want to write my own software and just make the relevant calls to the Icarus-Backend. Don’t know how difficult it would be to write the wallet code, you’d need to generate the BIP39 seed key and addresses, not sure what else really.

But anyway it’s hard to reverse engineer something without it actually working, lol. So I might wait for this Yoroi and take a look then.

Yes.

make key: ssh-keygen -t rsa
add key: ssh-add /home/ubuntu/.ssh/id_rsa
then add ~/.ssh/id_rsa.pub contents to github account on website as key.

then works


I started again in a new directory and followed the instructions here: https://github.com/input-output-hk/project-icarus-chrome

I built for testnet (as per the instructions), this will not connect to your local backend but to their testnet backend on 18.207.22.26. The relevant files appear in the /build subdir.

I made a dir on my computer and sftp’d these files to it. I started Chrome and went to chrome://extensions. I did “Load Unpacked” and specified the dir.

Indeed it works.

What do you want to do with it?

My goal is quite similar - I want to create an app, which talks to Icarus backend (create raw tx, sign it, send to blockchain, get txs received to particular address).

I figured out how to create wallets/accounts/addresses/txs through Rust+Wasm lib. So now I need working backend to send tx to.

Yes, I tried their endpoint - 18.207.22.26, but couldn’t get a response. Most likely I miss something. Could you send me any working request, in CURL format i.e.?

I can see it talk to 18.207.22.26:8080/api/txs/history to get transaction list, but I don’t know how to tell the payload or headers
 not very good with web browsers. :frowning:

Is app “native” or like cordova?