Skip to content

Commit

Permalink
Merge pull request #3 from anegg0/update-infura
Browse files Browse the repository at this point in the history
updated infura urls + added warning on README
  • Loading branch information
juanfranblanco authored May 2, 2019
2 parents 5ceb4bf + 6bd33ec commit e611dd8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Forms/Core/Ethereum/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ private static ISettings AppSettings
#region Setting Constants

private const string UrlKey = "url_key";
private static readonly string UrlDefault = "https://morden.infura.io/aEcNY6wGN4KuEpoXQRxZ";
private static readonly string UrlDefault = "
goerli.infura.io/v3/7238211010344719ad14a89db874158c
";
private const string PrivatekeyKey = "privatekey_key";
private static readonly string PrivateKeyDefault = "";

Expand Down
4 changes: 3 additions & 1 deletion Original/Core/Ethereum/GameScoreService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ public class TopScore

public class GameScoreService
{
public static string DEFAULT_MORDEN = "https://morden.infura.io/aEcNY6wGN4KuEpoXQRxZ";
public static string DEFAULT_MORDEN = "
goerli.infura.io/v3/7238211010344719ad14a89db874158c
";

//public static string PRIVATE_KEY = "0x822b4de0c646385ab8d1a29313e01a31c50d79e634809b4c90e67b00a4328401";
public static string PRIVATE_KEY = "0xaf98a1bdf2140578318e2c5e7d5956a3ee0a6732090c2991a9166a6639ad368f";
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ More information on UrhoSharp can be found [on the Xamarin website](https://deve
## Play along!!
There is an android package [here](https://github.com/Nethereum/Nethereum.Game.Sample/tree/master/Forms/Droid).

##Forms or Original
## Forms or Original
A newer version of the sample (which will be maintained if we do any changes) is the Xamarin.Forms version. This demonstrates decoupling the logic from the game, simplification of running other threads in the background, and support of copy and paste which was not provided in the Urho UI. The sample is still very simple, so not MVVM or dependecy injection has been added.

## Small video tutorial
Expand All @@ -25,4 +25,4 @@ This video gives you a quick introduction on the sample:

[![Cross platform game development with Ethereum using UrhoSharp and .Net](http://img.youtube.com/vi/WtpmCmP11Iw/0.jpg)](https://www.youtube.com/watch?v=WtpmCmP11Iw "Cross platform game development with Ethereum using UrhoSharp and .Net")


Note: in this sample, a special INFURA API key is used: `7238211010344719ad14a89db874158c`. If you wish to use this sample in your own project you’ll need to [sign up on INFURA](https://infura.io/register) and use your own key.

0 comments on commit e611dd8

Please sign in to comment.