Skip to content

Commit 3d655e9

Browse files
authored
Merge pull request #343 from NextGenSoftwareUK/feature/solana-provider-nft-minting
NFT Minting with SOLANA
2 parents dd47add + 02ee175 commit 3d655e9

31 files changed

Lines changed: 492 additions & 1658 deletions

.vscode/launch.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
25
"version": "0.2.0",
36
"configurations": [
47
{
5-
// Use IntelliSense to find out which attributes exist for C# debugging
6-
// Use hover for the description of the existing attributes
7-
// For further information visit https://github.com/dotnet/vscode-csharp/blob/main/debugger-launchjson.md
88
"name": ".NET Core Launch (console)",
99
"type": "coreclr",
1010
"request": "launch",
1111
"preLaunchTask": "build",
12-
// If you have changed target frameworks, make sure to update the program path.
13-
"program": "${workspaceFolder}/NextGenSoftware.OASIS.API.Providers.ArbitrumOASIS.TestHarness/bin/Debug/net8.0/NextGenSoftware.OASIS.API.Providers.ArbitrumOASIS.TestHarness.dll",
12+
"program": "${workspaceFolder}/NextGenSoftware.OASIS.API.Providers.SOLANAOASIS.TestHarness/bin/Debug/net8.0/NextGenSoftware.OASIS.API.Providers.SOLANAOASIS.TestHarness.dll",
1413
"args": [],
15-
"cwd": "${workspaceFolder}/NextGenSoftware.OASIS.API.Providers.ArbitrumOASIS.TestHarness",
16-
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
14+
"cwd": "${workspaceFolder}/NextGenSoftware.OASIS.API.Providers.SOLANAOASIS.TestHarness",
1715
"console": "internalConsole",
1816
"stopAtEntry": false
1917
},

.vscode/tasks.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"type": "process",
88
"args": [
99
"build",
10-
"${workspaceFolder}/The OASIS.sln",
10+
"${workspaceFolder}/NextGenSoftware.OASIS.API.Providers.SOLANAOASIS.TestHarness/NextGenSoftware.OASIS.API.Providers.SOLANAOASIS.TestHarness.csproj",
1111
"/property:GenerateFullPaths=true",
1212
"/consoleloggerparameters:NoSummary;ForceNoAlign"
1313
],
@@ -19,7 +19,7 @@
1919
"type": "process",
2020
"args": [
2121
"publish",
22-
"${workspaceFolder}/The OASIS.sln",
22+
"${workspaceFolder}/NextGenSoftware.OASIS.API.Providers.SOLANAOASIS.TestHarness/NextGenSoftware.OASIS.API.Providers.SOLANAOASIS.TestHarness.csproj",
2323
"/property:GenerateFullPaths=true",
2424
"/consoleloggerparameters:NoSummary;ForceNoAlign"
2525
],
@@ -33,7 +33,7 @@
3333
"watch",
3434
"run",
3535
"--project",
36-
"${workspaceFolder}/The OASIS.sln"
36+
"${workspaceFolder}/NextGenSoftware.OASIS.API.Providers.SOLANAOASIS.TestHarness/NextGenSoftware.OASIS.API.Providers.SOLANAOASIS.TestHarness.csproj"
3737
],
3838
"problemMatcher": "$msCompile"
3939
}

NextGenSoftware.OASIS.API.Core/Enums/NFTStandardType.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ public enum NFTStandardType
55
{
66
ERC721,
77
ERC1155,
8-
Both
8+
Both,
9+
Metaplex
910
}
1011
}

NextGenSoftware.OASIS.API.Core/Interfaces/NFT/Requests/IMintNFTTransactionRequest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public interface IMintNFTTransactionRequest
2626
public EnumValue<ProviderType> OnChainProvider { get; set; }
2727
public NFTStandardType NFTStandardType { get; set; }
2828
public NFTOffChainMetaType NFTOffChainMetaType { get; set; }
29+
public string Symbol { get; set; }
2930
//public bool SaveIPFSImageOnTheOASIS { get; set; }
3031
//public string JsonUrl { get; set; }
3132
}

NextGenSoftware.OASIS.API.Core/Interfaces/NFT/Requests/IMintNFTTransactionRequestForProvider.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ namespace NextGenSoftware.OASIS.API.Core.Interfaces.NFT.Request
44
public interface IMintNFTTransactionRequestForProvider : IMintNFTTransactionRequest
55
{
66
public string JSONUrl { get; set; }
7+
public string Symbol { get; set; }
78
//public string NFTJsonERC721 { get; set; }
89
//public string NFTJsonERC1155 { get; set; }
910
}

NextGenSoftware.OASIS.API.Core/Interfaces/NFT/Requests/INFTWalletTransactionRequest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ public interface INFTWalletTransactionRequest : IWalletTransactionRequest
77
{
88
public string MintWalletAddress { get; set; }
99
public int TokenId { get; set; }
10+
public string TokenAddress { get; set; }
1011
//public string FromWalletAddress { get; set; }
1112
//public string ToWalletAddress { get; set; }
1213
////public string FromToken { get; set; }

NextGenSoftware.OASIS.API.Core/Objects/NFT/Requests/MintAndPlaceGeoSpatialNFTRequest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@ public class MintAndPlaceGeoSpatialNFTRequest : PlaceGeoSpatialNFTRequestBase, I
2929
public EnumValue<ProviderType> OnChainProvider { get; set; }
3030
public NFTStandardType NFTStandardType { get; set; }
3131
public NFTOffChainMetaType NFTOffChainMetaType { get; set; }
32+
public string Symbol { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
3233
}
3334
}

NextGenSoftware.OASIS.API.Core/Objects/NFT/Requests/MintNFTTransactionRequest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@ public class MintNFTTransactionRequest : IMintNFTTransactionRequest
2727
public EnumValue<ProviderType> OnChainProvider { get; set; }
2828
public NFTStandardType NFTStandardType { get; set; }
2929
public NFTOffChainMetaType NFTOffChainMetaType { get; set; }
30+
public string Symbol { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
3031
}
3132
}

NextGenSoftware.OASIS.API.Core/Objects/NFT/Requests/MintNFTTransactionRequestForProvider.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ namespace NextGenSoftware.OASIS.API.Core.Objects.NFT.Request
55
public class MintNFTTransactionRequestForProvider : MintNFTTransactionRequest, IMintNFTTransactionRequestForProvider
66
{
77
public string JSONUrl { get; set; }
8+
public string Symbol { get; set; }
89

910
//public string NFTJsonERC721 { get; set; }
1011
//public string NFTJsonERC1155 { get; set; }

NextGenSoftware.OASIS.API.Core/Objects/NFT/Requests/NFTWalletTransactionRequest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ public class NFTWalletTransactionRequest : WalletTransactionRequest, INFTWalletT
88
{
99
public string MintWalletAddress { get; set; }
1010
public int TokenId { get; set; }
11+
public string TokenAddress { get; set; }
1112
//public string FromWalletAddress { get; set; }
1213
//public string ToWalletAddress { get; set; }
1314
////public string FromToken { get; set; }

0 commit comments

Comments
 (0)