It’s hard to figure out what to do after I sign up, besides adding a Stellar account. Perhaps if you made the leaderboard more prominent or prompt some people to follow.

I'd recommend a tab in the sidebar that represents the "Assets" button you find when clicking through the site (https://nucleo.fi/leaderboard/asset/top/). Like Paul said, it isn't immediately clear that you can trade through a Nucleo account.

    StellarZac Thanks! I’ll play with it. Originally I had a trade tab that was going to lead to an orderbook, but with StellarX coming out I nixed it and decided to focus less on the market maker user and more on the value investor

    6 days later

    StellarGuard I’ve updated the app so now the Leaderboard is the first view users see after login/signup. Hopefully that make things more engaging and clearer in terms of flow.

    StellarZac Also, I’ve added an Assets tab in the nav bar leading to the top assets list view (https://nucleo.fi/asset/top/; it also displays the assets in your portfolio now). Let me know if these changes make it way clearer that you can trade in Nucleo.

    Besides that, Nucleo now supports Ledger hardware wallets.

    StellarGuard StellarGuard integration may be tougher given the way the Nucleo activity feed works. Do you have an example in the docs of the JSON response StellarGuard replies with after submitting a transaction?

    POST /api/transactions
    
    200 Response on success
    {
          id: String, // the id of the transaction
          xdr: String, // the XDR of the transaction that was submitted
          dateCreated: Date, // the time the transaction was created
          stellarGuard: true, // always true, could be used if you want to handle submission to horizon for non-SG users and switch based on the results
          url: String // fully qualified url to the transaction approval page on StellarGuard, some wallets link directly do this url
    }

    4xx or 5xx on errors (error message in the json response).

    I will get better developer docs on this soon.

      StellarGuard Is there a way for a third party API/app to receive a push from the StellarGuard API once StellarGuard has submitted the signed tx to Horizon? Or is it assumed that the third party app should just be listening for successful txs from the source account?

        mikeyrf So far all of the wallets that have integrated with it have listened to the actual transactions via horizon (since transactions don't necessarily have to originate from the wallet anyway).

        However, adding a callback was one of the things that was on my list of things to do. If doing that now would be helpful to the integration I can add it for the next release (likely Sunday evening, but I could do a special release for just this if it is time sensitive on your end).

          mikeyrf I've added callback support for when a transaction is approved and submitted to horizon successfully.

          POST /api/transactions
          {
            xdr: "<transaction-xdr>"
            callback: "https://webhook.site/7753d513-fc9b-488e-b762-c4596b79a3e7'
          }

          And also published version 1.4.1 of the StellarGuard JS SDK with support for it.

          const callback = 'https://webhook.site/7753d513-fc9b-488e-b762-c4596b79a3e7';
          StellarGuardSdk.submitTransaction(transaction, callback);

          You can see the data that gets sent to the callback here: https://webhook.site/#/cc677ade-969d-411e-9b9c-93745f69d37b/407fad2d-a4b3-44e3-a235-d9a32f20c783/0

          Hope this helps with the integration! Let me know if you need something else for it.

            4 days later

            StellarGuard has now been integrated with Nucleo.fi ?

            StellarGuard for privacy concerns that I've been getting, you can now make your profile private by toggling "Private account" in Settings (https://nucleo.fi/profile/settings/). When your profile is private, only people you approve to follow you can see your Stellar account info, public keys, assets and balances.

            Roadmap and outstanding tasks for the future are up on Github as well.

            a month later

            An update for everyone on some upgrades to Nucleo.

            On the more aesthetic side:
            • Leaderboard and top Stellar asset lists can now be viewed without logging into the app
            • Improved charting of your portfolio value over time
            • Listings of which other Nucleo users trust a particular asset
            and more major:
            • Integration with the @umbrel Papaya anchor to deposit crypto funds directly to your Stellar accounts

            Image of Nucleo Deposits

            I'm interested in potentially integrating theCoinbase buy widget as well for fiat -> crypto -> Stellar through Papaya. Has anyone else looked into this?

              mikeyrf looks neat, keep in mind that new API standard is coming soon. I'll let you know once it's ready

                7 days later

                An update for Nucleo.fi.

                I've improved the signup flow for new users. Now after email confirmation, Nucleo guides you through adding/creating a Stellar account on the network, personalizing your Nucleo profile info, and suggests leading profiles to follow.

                Image of Nucleo Leaderboard
                Image of Nucleo Leaderboard
                Image of Nucleo Leaderboard

                Also, Nucleo will be applying to Y Combinator for the upcoming winter batch ?... Will keep everyone posted on progress. Thanks again for all of the feedback and community support in helping to make the project an SBC finalist!

                  mikeyrf
                  Hi!

                  I'd like to import my portfolio into Nucleo.fi but I don't like the idea of sharing my secret key. As I understand it, you don't really need it except to add a data entry to my account. Would you please give me the details of that transaction so I can make it into a cosmic link?

                    MisterTicot Hey! That'd be awesome. Right now it's a bit more roundabout than simply adding the data entry to your account on the network since Nucleo doesn't have a listener server-side yet (implementing Stellar Notifier is on my todo list).

                    The data entry value is your Nucleo profile user.id signed by the Nucleo server key so you'd have to extract it manually from the browser console input[name=signed_user].value, submit the tx to the Stellar network (see below for details), then POST data { public_key: YOUR_PUBLIC_KEY } to https://nucleo.fi/account/create/.

                    Alternatively, I could implement cosmic links to make things easier. There's a JS SDK right?

                    transaction = new StellarSdk.TransactionBuilder(sourceAccount)
                      .addOperation(StellarSdk.Operation.manageData({
                        'name': 'nucleo_signed_user',
                        'value': $('addStellarModalForm')[0].elements["signed_user"].value,
                      }))
                      .addMemo(StellarSdk.Memo.text('Nucleo Account Verification'))
                      .build();

                      mikeyrf

                      Here's how I did:

                      The SDK is cosmic-lib. I'm about to release the beta-2 which include a convenient transaction builder. I suggest you wait for that release so you won't be bothered by the compatibility-breaking changes it includes.

                        MisterTicot Yes that should work. The memo isn't necessary for future reference (forgot to say). Please let me know when the future release of cosmic-lib and I'll look into implementing for Nucleo.

                          mikeyrf I'll let you know. The simplest solution in your case might be to generate XDR links though. You already implemented a way to generate transactions, so you just have to do:

                          function makeCosmicLink (transaction) {
                            const xdr = transaction.toEnvelope().toXDR('base64')
                            return 'https://cosmic.link/?xdr=' + xdr + '&network=public'
                          }