Dev Blog #11

Hi there, some time passed since the last dev blog post but that doesn’t meant i wasn’t working on cool things for Stellar 🙂

Things i did since the last dev blog

  • Uploaded 2 new releases for the Unity SDK
  • Contributed to the original C# SDK
  • Started and almost finished a mobile app that uses Stellar SDK (Will let you know in the future)
  • Started the Items System for games using the Stellar SDK in Unity (Still in progress)

In the last release i finally moved out of Unity 2018.2.0 beta version to the Unity 2018.2.0 release version, hooray!
That means that this integration is out of Beta in terms of Unity.

Latest Unity Stellar SDK

 


 

On another note, since i’m contributing to the C# Stellar SDK, that means that this project will also be benefit by the changes done in the original project.
Here are some of those changes:

So as you can see, you can take some of the examples in the page and use them in the Unity SDK, how cool, right?

 

And for finish, i will be focusing on the same things i were doing so expect new things soon.

Cheers!

Dev Blog #10

Hi there, here’s a quick update of some new things.

I added support for fetch Data of an Account to the original C# SDK, it was a interesting thing to do since i never contributed to a repository of another person, fortunately i didn’t have a lot of issues and Elucidsoft merged it.
Next time i will be sure to follow the contributing guidelines for do better pull request.

SDK

Updated SDK to the latest changes.

You can find the last commit in my fork of the original project:
https://github.com/Kirbyrawr/dotnet-stellar-sdk/commit/05b26f34fa8035cfa7623708074f2163f53be4fb.

Here is the link to the Unity Package:
https://github.com/Kirbyrawr/stellar-unity/releases/tag/1.6b
Also as a side note i’m still researching and doing another projects with the SDK, it’s quite interesting but at the same time complicated, and i’m thankful to the person that is teaching me a lot of things, not even of Stellar but of programming as well.

Cheers!

Dev Blog #9

Hi there, some updates over here.

The other day i tried to compile it to WebGL from Unity but i found compilation errors, i researched a lot about them and it was related to the Chaos DLL.
This was my fault since i was including it because i used it in a older version of the SDK when nothing was build automatically from the original source.

So i pulled the latest changes, fixed some issues on the original repo for compile the dotnetstandard version (Pull requested them) and i build it with the Chaos code now included as it should be.

That fixed the issue of compiling but sadly the SDK doesn’t work in WebGL due to not have multithreading capabilities, this is on Unity’s roadmap since it’s a bit new thing for the browser so it will take time.

I updated the readme with the platforms i tested so far and those that don’t work (Only WebGL at the moment and not because of the SDK)

SDK (From 1.41b to 1.5b changes)
-Updated SDK to the latest changes.
-Lowered Size of SDK in general (I was compiling the debug version instead of the release one)
-Removed Chaos DLL since it’s now inside the Stellar DLL
-Fixed compilation errors
-Updated readme
-Deleted mcs.rsp file (The latest Unity Beta have Roslyn C# 7 support enabled by default, so that means we are not experimental anymore here, hooray!)

Last Release is 1.5b and you can find it here:
https://github.com/Kirbyrawr/stellar-unity/releases/tag/1.5b

 

Cheers!

Dev Blog #8

Hi there, so much time passed since the last dev blog so here we go.

SDK
Over this days, i did a lot of progress regarding the Unity SDK, i’m going to explain a bit of my journey with it.

I had a problem one day when the SDK just stopped working even in already compiled builds. This was a big problem so i needed to fix it fast.
The problem was that Unity didn’t have support for Transport Layer Security 1.2 (TLS) and somehow something of Stellar or Unity side stopped working with my workaround.
The problem was fixed by upgrading Unity to the latest beta that have support for TLS 1.2 and delete the workaround i did that in fact was pretty bad for the security.

The SDK was updated to the last version available from the original C# Integration and i made to the owner a pull request that he accepted (Phew, i’m happy with myself!).
The UStellar repository have now two branches, a stable one (Master) and a experimental one.

I updated as well the Readme and made some instructions a bit more clear, specially for Android.

VIEWER
I got time as well for improve the viewer i were doing, and i gave it a visual revamp and some more functions (I’m progressing yay!)
Remember that this viewer will be a cool example when trying to use the SDK of Unity)

So here is a screenshot of it:
image.png

 

WHAT’S AHEAD?

-I will keep working on the SDK, maintaining it, adding more functions to it and giving support for it.
-I will keep promoting the SDK and doing more sample projects for how to use it.
-I will be working on a secret project that have relation with this.

 

Cheers.

A quick update #2

DISCLAIMER:
It seems there was a delay processing the projects so that would explain why some projects were left in the void.

Hi there, it seems that things can get better.

The Stellar team did a fantastic job and reviewed some of the projects that were not handled properly, in this case UStellar was inside that list.

I received an email when i was in the train on my way to home from a tired day at work.
This email was from our loved community manager called Zac (I don’t know why but this name makes me smile) telling me congratulations for the sbc and a explanation for all that happened with the Challenge.
In that moment i was shocked, i didn’t know what to say, all i wanted was a mention somewhere and a received more than that, i truely appreciate it.

My reply to him was something like, hey Zac, you won’t be dissapointed, even if Zac probably don’t select the projects and is other person, but i wanted to express my feelings in that moment.

So from myself the Stellar Team deserve an apologize from me, not because i said or did anything bad but because i think i didn’t gave them time to fix the things and i wroted the blog post about how i felt.

 

So, yeah the future is now more exciting than ever since i’m way more motivated for the new things that will come (hopefully soon).

There will be news soon but it will be huge. 🙂

Cheers, and thanks Stellar Team and Community.

A quick update #1

Hi there as most of you know, this project was submitted to the Stellar Build Challenge of March, for me this was an exciting thing, not only for the prize but for show to the community of Stellar what i’m capable of.

I submitted the project in February, i believe it met all the guidelines and everything was ok, i didn’t expect a prize since there are more developers with good projects so i said to me even if you don’t win it’s ok.

I polished the integration with Unity over the time, since i finished early and i had time for do this till the final date.
I also made a program and integrated it with another app from an user called Dio (StellarSigner) , and it was cool since i saw things the original C# SDK was doing in a weird way and that didn’t allow me to for example create a transaction and convert it to XDR without sign it first. Oh and the integration worked ok!

Time come and the Stellar Build Challenge winners were announced, fast than a lighting strike i searched if there were even a mention of the integration i made since the SDK showed a bit of popularity and other companies (like Kik Interactive) were doing similar things with their own token. And i found nothing, not even a mention of the project, nothing…

At this point i was devastated with myself thinking to me were i was wrong, if i did something bad or i didn’t mention it so much or also why they couldn’t see the potential that the integration have for the gaming industry or more things.

I was so sad with myself, because i put in so much work and time into this project for not even a mention somewhere, not even a prize.
I barely have 3 hours a day (except at weekends, that i use for do a bit of sport or gaming since i love it) for do things since i live so far from my work (with my parents) and i stayed till 1 or 2 am some days even if the next day i had to wake up at 7 am.

I wrote something in the Discord of Stellar wishing for a mention somewhere and some people talked to me, one of those persons was Zac the community manager of Stellar.
He and more people tried their best for motivate me and cheer me up, and i appreciated it so much.

I’m a stubborn person by nature and things sometimes need a second opportunity so the future plans for this are:

-Keep improving the SDK, adding more goodies to the Unity part and forking the C# project for improve it.

-Try to do real integration projects for show the potential of this, i already have an idea in mind regarding nfc chips and Unity.

 

And yeah this blog post is so bad written, i did it really quick and English is not my first language, this is not an excuse but just in case someone wonder why it’s so bad 🙂

If someone wants to contact me please don’t hesitate, even if i don’t have a lot of time i’m happy to help or to code.

Cheers.

 

Dev Blog #7

DESCRIPTION

Hi there, another entry in the dev blog. This time i added compatibility for Android and iOS in the SDK.

When i was working in the Account Viewer, i wanted to test it in Android however i run into problems.

  • First problem was that the Mono for Android in the Unity Beta version was broken, so i fixed it by changing to version 2018.1.0b7 that is not perfect since it have a lot of visual bugs related to interface but it works.
  • Second problem was that when i tried to fetch data from an account with the SDK i was receiving errors related to JSON.Net library, so i started digging and i found that i needed to change the library for a compatible version for Android and iOS.
    So i did, and it worked good!

CHANGES

If you have any suggestion you can reach me at email or twitter, just go to the bottom of FAQ and there you have my info.

Cheers.

Dev Blog #6

DESCRIPTION

Hi there, another entry in the dev blog. This time i fixed and improved some things of the integration and did more progress in the “Stellar Account Viewer”

When i changed the network thing for the people to connect to different networks than the Stellar ones, i didn’t introduce the code properly and it wasn’t being use.
Well, this is already fixed.

I also fixed the warnings and a error in the examples scene.

CHANGES

  • Fixed not setting the networks passphrase.
  • Fixed not being able to use different networks.
  • Fixed warnings.
  • Fixed Scene component error.

OTHER

Here is a bit of progress of the Account Viewer i will submit to the Build Challenge with another person (the person who gives me feedback, i really value it so we decided to join together)

Account Viewer UJpdate

The Account Viewer will be open source and free as well and it’s created in Unity 3D with the UStellar Integration.
If you have any suggestion you can reach me at email or twitter, just go to the bottom of FAQ and there you have my info.

Cheers.

Dev Blog #5

DESCRIPTION

Hi there, another entry in the dev blog. This time i will talk about some improvements i made to the core of the integration and a project i’m doing with this.

As you know, you can connect to the Stellar Horizon Server or create your own.
I added the ability to setup a custom URL and Passphrase for connect to the server.

I also fixed the public environment not working and refactorized some methods.

CHANGES

  • Added method for set custom URL/Passphrase for a different Network than the Stellar one.
  • Fixed Public environment not working.
  • Refactorized some methods.

OTHER

And now i’m going to talk about a project i’m doing with the feedback of an user i found on the slack of Stellar.
The project is an account viewer made with this integration in Unity that will work for Android, iOS and PC.
It’s in a really early state but i’m happy because this integration is working perfectly and i managed to get balances and more things of an account.

Here is a quick screenshot i took from Unity:

Account Viewer

I will post more about this in future post.
I also added a menu for see the projects made with this integration : )
If you have any suggestion you can reach me at email or twitter, just go to the bottom of FAQ and there you have my info.

Cheers.

Dev Blog #4

DESCRIPTION

Hi there, another entry in the dev blog. This time i’m working on interactive examples for the integration and scrapping them from the core.

So far there are 2 interactive examples but i’m working on make more.

Example #1 Create Account
Create Account.png
In this example you will be able to generate a keypair for create an account.
The donations address of this blog is created with this demo : )
GC56KHQGVMRGASSSNP2QIDOPQVAD5AJ7DPJ57MIKKPWUGJEJEZGY4AIM

Example #2 Send Money
Send Money.png
In this example you will be able to see how to send money from one account to another, the examples account are done with test accounts.
If it doesn’t work generate new test keypairs and introduce them in the inspector where this script is.

CHANGES

  • Removed products demo.
  • Scrapped core from examples
  • Added Create Account example
  • Added Send Money example.
  • Working on more things…

I’m going to start building some projects with the integration soon for show the potential of it.

If you have any suggestion you can reach me at email or twitter, just go to the bottom of FAQ and there you have my info.

Cheers.