Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
626 changes: 0 additions & 626 deletions BiatecTokensApi/ABI/BiatecToken.json

This file was deleted.

671 changes: 671 additions & 0 deletions BiatecTokensApi/ABI/BiatecTokenMintable.json

Large diffs are not rendered by default.

390 changes: 390 additions & 0 deletions BiatecTokensApi/ABI/BiatecTokenPreminted.json

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion BiatecTokensApi/BiatecTokensApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@

<ItemGroup>
<PackageReference Include="Algorand4" Version="4.0.3.2025051817" />
<PackageReference Include="AlgorandARC76Account" Version="1.0.2" />
<PackageReference Include="AlgorandARC76Account" Version="1.1.0" />
<PackageReference Include="AlgorandAuthentication" Version="2.0.1" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.22.1-Preview.1" />
<PackageReference Include="Nethereum.Web3" Version="5.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="9.0.1" />
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="9.0.3" />
<PackageReference Include="Swashbuckle.AspNetCore.Filters" Version="9.0.0" />
</ItemGroup>

Expand All @@ -31,12 +32,16 @@

<ItemGroup>
<Folder Include="doc\" />
<Folder Include="Generated\" />
</ItemGroup>

<ItemGroup>
<None Update="doc\documentation.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="README.md">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>
20 changes: 0 additions & 20 deletions BiatecTokensApi/Configuration/BlockchainConfig.cs

This file was deleted.

27 changes: 27 additions & 0 deletions BiatecTokensApi/Configuration/EVMBlockchainConfig.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
namespace BiatecTokensApi.Configuration
{
/// <summary>
/// Represents the configuration settings for an EVM-compatible blockchain, such as Base Mainnet or Base Sepolia
/// Testnet.
/// </summary>
/// <remarks>This class provides the necessary parameters to interact with an EVM-compatible blockchain,
/// including the RPC URL, chain ID, and gas limit. It is typically used to configure blockchain-related operations
/// or services.</remarks>
public class EVMBlockchainConfig
{
/// <summary>
/// RPC URL for the Base blockchain (can be mainnet or testnet)
/// </summary>
public string? RpcUrl { get; set; }

/// <summary>
/// Chain ID for Base Mainnet (8453) or Base Sepolia Testnet (84532), or others
/// </summary>
public int ChainId { get; set; }

/// <summary>
/// Gas limit for token deployment
/// </summary>
public int GasLimit { get; set; } = 4500000;
}
}
16 changes: 16 additions & 0 deletions BiatecTokensApi/Configuration/EVMChains.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
namespace BiatecTokensApi.Configuration
{
/// <summary>
/// Represents a collection of blockchain configurations for supported Ethereum Virtual Machine (EVM) chains.
/// </summary>
/// <remarks>This class provides a centralized way to manage and access configurations for multiple
/// EVM-compatible blockchains. Each configuration in the <see cref="Chains"/> property defines the settings and
/// parameters for a specific chain.</remarks>
public class EVMChains
{
/// <summary>
/// Gets or sets the collection of blockchain configurations for supported EVM chains.
/// </summary>
public List<EVMBlockchainConfig> Chains { get; set; } = new List<EVMBlockchainConfig>();
}
}
385 changes: 285 additions & 100 deletions BiatecTokensApi/Controllers/TokenController.cs

Large diffs are not rendered by default.

Loading