Skip to content
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<a href="https://fivebinaries.com/"><img src="https://img.shields.io/badge/made%20by-Five%20Binaries-darkviolet.svg?style=flat-square" /></a>

# Cardano games assets for Unity
# Cardano games assets for Unity

This repository contains the code and configuration files of Cardano game assets for Unity.

Expand Down
2 changes: 2 additions & 0 deletions src/Blockfrost.io/Editor/ConfigurationEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Linq;

using UnityEditor;
#if UNITY_EDITOR
using UnityEngine;

[CustomEditor(typeof(Blockfrost.Configuration))]
Expand Down Expand Up @@ -31,3 +32,4 @@ public override void OnInspectorGUI() {
EditorUtility.SetDirty(target);
}
}
#endif
8 changes: 6 additions & 2 deletions src/Blockfrost.io/Scripts/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,13 @@ public class Configuration : ScriptableObject {
Url = "cardano-mainnet.blockfrost.io/api/v0",
},
new Server{
Network = "Testnet",
Url = "cardano-testnet.blockfrost.io/api/v0",
Network = "Preview",
Url = "cardano-preview.blockfrost.io/api/v0",
},
// new Server{
// Network = "Testnet",
// Url = "cardano-testnet.blockfrost.io/api/v0",
// },
}}, {
MilkomedaApi, new List<Server>{
new Server{
Expand Down
20 changes: 20 additions & 0 deletions src/Blockfrost.io/Scripts/Model.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1720,6 +1720,26 @@ public class OnchainMetadata {
/// Name of the asset
/// </summary>
public string name;
/// <summary>
/// Ipfs image of the asset
/// </summary>
public string image;
/// <summary>
/// Description of the asset
/// </summary>
public string description;
/// <summary>
/// Url for a fungible
/// </summary>
public string url;
// <summary>
/// Logo for a fungible
/// </summary>
public string logo;
/// <summary>
/// Ticker for a fungible
/// </summary>
public string ticker;

}

Expand Down