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'
                  }
                    a month later

                    Hi Everyone,

                    I wanted to get the community's feedback on how best to improve Nucleo and make it something every Stellar user absolutely loves. I'd love to hear your thoughts on what's working so far and what's not.

                    I've built this short typeform for people to give their thoughts since the end of the Build Challenge, but of course comments below are always great too ?.

                    Really I'd like to know a bit more about:

                    • Whether you like the social aspects of discovering and investing in tokens with friends (and whether to expand on this by allowing users to post to their feeds crypto-related thoughts, articles, comments, etc.),

                    • Whether you want more flexibility on the investing side through offerings of more pegged crypto assets like EOS, DASH, MONERO, etc.,

                    • Whether you would be more likely to use Nucleo if you could deposit a range of fiat currencies (USD, EUR, etc.) directly within the platform to your Stellar accounts.

                    Thanks everyone for all the help. Looking forward to hearing from you all again!

                    @mikeyrf

                    Would be great to have a one-click registration process with a cosmic link.

                    I mean, without having to give the mail, but with the option to set it later.

                    This way, it would be easier to redirect users to your website for them to see their trade rank and so on; I mean, without boring them with additional registration process.

                    I don't ask users their mail so it would be weird I ask them for registration on external platform, but I'd like to somehow give them the option register into nucleo.fi easily.

                    Another interesting thing to investigate would be providing iframable widgets so we can include content from your website in ours, like top10 trader or i.e. put your last 10 trades on your page.

                    Both idea would feet nicely together, providing websites the possibility to register their users into nucleo.fi and to show some stats without having to code it all, and providing you with new users and more visibility. Looks mutually beneficial to me.

                      MisterTicot Not sure how I could do the one click registration process so I need to think about that a bit more, but the embeddable widget idea is super cool! I like that a lot