By using AWS re:Post, you agree to the Terms of Use
/Blockchain/

Blockchain

Developing blockchain and ledger applications is simpler, faster, and more efficient with AWS. AWS provides purpose-built tools to support your distinct blockchain needs, whether you need a centralized ledger database that maintains an immutable and cryptographically verifiable record of transactions, or a multi-party, fully managed blockchain network that helps eliminate intermediaries.

Recent questions

see all
1/18

Where to get started as a C/C++/C# developer?

Hello everyone, I've been a software and game developer for well over a decade, and I feel very at home with C, C++ and C#/.NET. I've done a lot of programming with DirectX SDKs and Unity, as well as desktop and mobile development. However, I don't really know much at all about the web and networking. But now I'm becoming very interested in what kinds of things I can do with AWS in game development, as well as with blockchain, AI/ML and cloud computing power. There seems to be more AWS services and packages than I can count though, and I'm really not sure which ones I should be pursuing and trying to learn more about and which ones are irrelevant to me and my job. The list of services, SDKs and packages is as impressive and inspiring as it is overwhelming and confusing! I'd like to be able to deploy some .NET applications to AWS to provide remote APIs for games and applications. To start with and get the hang of it, I just want to make a little minigame that lives on a server that a Unity or Unreal game can interact with through http requests. And I'll incrementally add some features to it as I start to get the hang of it. I'd also like to do some experimentation with blockchain software and services and see what kinds of interesting things can be accomplished with it. And beyond that, I'd eventually like to get into using AI/ML to accomplish goals in games and apps, harness cloud-based CPU/GPU processing power for heavy-lifting and even setup some real-time multiplayer game servers. I just don't know what tools/services/packages I need to dive into and start figuring out. I've found [the Visual Studio 2022 AWS package here](https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.AWSToolkitforVisualStudio2022&ssr=false#overview), as well as [this AWS GitHub page](https://github.com/aws/dotnet) for .NET. I've also heard about Lambda. I really have no idea which ones are relevant to me or where I should start with this. To begin with, I want to run a .NET application on a server that applications can query and interact with and have it store and supply data for them, offer some remote APIs and requests, etc. I'd also potentially be interested in running some native C/C++ modules on servers. Can someone point me in the right direction and tell me what I need to set up and dive into first? I'm doing this in my free time when I'm not working on projects for work, so my time is very limited and researching and learning the wrong things would be a big setback for me. Any help or guidance is greatly appreciated!
1
answers
0
votes
7
views
asked 3 months ago

QLDB Query from Lambda Function

Sorry for the NewBe question... My team is evaluating QLDB for a business requirement and needs to run a simple QLDB test in Lambda (node.js 14.x). Hoping for a super-simple QLDB Lambda 'hello world' js example that executes the following query on the AWS test ledger named 'vehicle-registration': "SELECT * FROM Person WHERE GovId = 'TOYENC486FH'". Here's what we have so far: //var AWS = require("aws-sdk"); //confirming not a dependency to instantiate driver and execute simple QLDB query? var qldb = require('amazon-qldb-driver-nodejs'); // confirming still a dependency? var ionjs = require('ion-js'); //confirming still a dependency? let jsbi = require("jsbi"); //is this a dependency ? const driver = new qldb.QldbDriver("vehicle-registration"); exports.handler = async (event) => { // TODO implement const response = { statusCode: 200, body: JSON.stringify('Is there a simple, up-to-date QLDB Lambda example for node.js 14.x?'), }; return response; }; AWS, if you're reading this, here are a few things we've observed in the documentation: * The second sentence of the QLDB Node.js Tutorial refers to AWS SDK for JavaScript API which is depreciated and comes with a note that says, "Note: You are viewing the documentation for an older major version of the AWS SDK for JavaScript (v2)." * The third sentence of the QLDB Node.js Tutorial refers to the QLDB Driver Reference. We managed to import the driver into Lambda but its a time consuming exercise in environment variables, TypeScript, and NPM. * IAM role is mentioned zero times in step one and step two * Sample code in Step 2 is written in TS even though NodeJS is the runtime for AWS Lambda, and JavaScript is default language. Edited by: 5:51 on May 14, 2021 3:00 PM Edited by: 5:51 on May 15, 2021 4:22 AM Edited by: 5:51 on May 15, 2021 5:16 AM Edited by: 5:51 on May 15, 2021 9:17 AM
3
answers
0
votes
1
views
asked a year ago

Popular users

see all
1/18