The Pakana Stellar Components project provides a set of powerful and customizable ASP.NET Razor and Blazor UI and UX Components for integrating Stellar blockchain functionality seamlessly into your web applications using Visual Studio or Visual Studio Code. These components aim to simplify the integration process, offering a user-friendly interface for Stellar account creation, multisignature operations, and payments.
We invite you to fork and use this source-code in your own ASP.NET Razor projects. If you make improvements, please submit them via pull-request or if you find a bug or have an idea for improvement, please post an Issue or use the Discussion tab.
Visit the PakanaComponents.com website for documentation, installation, tutorials and resources.
If you would like to try out some of the components in a demonstration application we're developing, check-out Lumenals.com. It's our take on Ordinals and NFTs using the Stellar Blockchain. Note: The lumenals app is beta software, please use a new dedicated TestNet account as a sandbox before minting on the Mainnet.
The development, distribution, and maintenance of these components is made possible, thanks to an award from The Stellar Community Foundation
Additionally, we make use of the Stellar Javascript SDK to integrate with the Stellar Horizon API.
Thanks! Pakana Team
- Creating a new Stellar account.
- Funding a Stellar account from an existing account.
- Sending funds from one account to another.
- Native and custom assets are supported.
- Establishing a Trustline to the new Stellar account for custom assets.
- Creating a new multi-signature account.
- Adding a new signer to an existing multi-signature account with automatic threshold incrementing.
- Implement event handlers for transaction submission and signature collection.
- Seamlessly integrate Stellar transactions into your application workflow.
.Net8.0 or greater is required.
dotnet add package Pakana.Stellar.Components --version 1.0.0
- Add the Pakana.Stellar.Components to your project.
- Download and Install the Stellar SDK or use the CDNJS to quickly get started.
- Configure the Stellar SDK with your network passphrase and other relevant details.
- Configure the Variables in the HorizonServer.js file to match your projects wallets and network details.
- Customize the components to fit your application requirements.
- Visit the PakanaComponents.com website for documentation, installation, tutorials and resources.
- Embed the Send-Funds and Generate-Key-Pairs components into your Razor views.
- Customize component behavior based on your application requirements.
Ensure that your project includes the necessary dependencies:
- Stellar SDK
- stellar-sdk
- CDN: https://cdnjs.cloudflare.com/ajax/libs/stellar-sdk/{version}/stellar-sdk.js
- [JavaScript]
- [Razor Pages]
Here is an example of how to use Pakana Stellar Razor Components in your project.
<!-- Razor View Using Pakana Stellar Razor Components -->
<PakanaSendFunds @ref="sendFundsComponent"/>
<button @onclick="SubmitTransaction">Submit Transaction</button>
@code { private async Task SubmitTransaction() {
await sendFundsComponent.SubmitTransaction();
}
}
Interested in contributing or have ideas on expanding this resource?
We'd love to have your help!
Join the Discussion, submit a pull request, or open an issue to get started. Or Contact us at the Pakana.net site for more information.
This project is licensed under the MIT License.
- wwwroot/
- Components/
- AddMultiSigSigner/
- AddMultiSigSigner.razor
- AddMultiSigSigner.js
- AddMultiSigSigner.css
- README.md
- CreateMultiSig/
- CreateMultiSig.razor
- CreateMultiSig.js
- CreateMultiSig.css
- README.md
- GenerateKeyPair/
- GenerateKeyPair.razor
- GenerateKeyPair.js
- GenerateKeyPair.css
- README.md
- SendFunds/
- SendFunds.razor
- SendFunds.js
- SendFunds.css
- README.md
- AddMultiSigSigner/
- Scripts/
- HorizonServer.js
- jQuery.js
- README.md
Lockb0x LLC is a blockchain development company that specializes in building financial technology solutions using the Stellar blockchain.
Pakana.net is our flagship product and the primary platform that all of our DeFi use-cases are built on, offering:
-Payment Processing -Contract and Document Management -Fiat Bank Account Integration -Quickbooks Integration
... and more, using the Stellar Development Foundation blockchain, Microsoft Azure, and other services. Currently in beta testing and continuing refinement, many of the concepts used to implement this Component Suite were proven in Pakana.