Open in app

Sign in

Write

Sign in

Binod Karunanayake
Binod Karunanayake

45 Followers

Home

Lists

About

Published in

CoinsBench

·Nov 24

Running a Blockchain Explorer for Geth using Docker

This article provides detailed steps to run Chainlens blockchain explorer for Geth (go-ethereum) using Docker. — Having a blockchain explorer for your private Ethereum blockchain is essential to explore the transaction data. It is few commands away to run Chainlens blockchain explorer for Ethereum and Substrate networks developed by Web3 Labs. Currently it supports Ethereum, Hyperledger Besu and Quorum. Free version of Chainlens is open source…

Blockchain

2 min read

Running a Blockchain Explorer for Geth using Docker
Running a Blockchain Explorer for Geth using Docker
Blockchain

2 min read


Published in

CoinsBench

·Nov 16

How to Listen Events Emitted from Smart Contracts using Python

If you’re a blockchain based app developer, you may encounter situations that you need to listen events emitted from the smart contracts. Here, I will demonstrate a simple example on how to listen those events using Python. I’m using a simple smart contract Counter that emits an event carrying a…

Smart Contracts

2 min read

Smart Contracts

2 min read


Published in

CoinsBench

·Nov 1

Setup a Private Blockchain using Geth and Docker

This article provides step-by-step detailed guidelines to deploy a private blockchain using ethereum/client-go aka geth (go-ethereum) on docker. — If you’re reading this I assume that you already know blockchain 101 and basics of docker. Because in this article I’m more focussed on GETH commands and solving issues while deploying the ethereum/client-go docker image. …

Go Ethereum

5 min read

Setup a Private Blockchain using Geth and Docker
Setup a Private Blockchain using Geth and Docker
Go Ethereum

5 min read


Jun 27

Accessing GoodWe Sems Portal API: A Comprehensive Guide

If you are a user of GoodWe inverters and batteries, you might be interested in accessing the GoodWe Sems Portal API to retrieve data and integrate it into your own applications or systems. However, due to the lack of public documentation, it can be challenging to figure out how to…

Goodwe Solar Inverter

2 min read

Accessing GoodWe Sems Portal API: A Comprehensive Guide
Accessing GoodWe Sems Portal API: A Comprehensive Guide
Goodwe Solar Inverter

2 min read


May 18

Open Policy Agent (OPA) Support in WSO2 API Manager

In this article, I discuss how to attach an OPA policy to an API in WSO2 API Manager using a sample scenario — Open Policy Agent (OPA) is an open source and general-purpose policy engine that unifies policy enforcement across the stack. OPA is supported in WSO2 API Manager 4.1.0 onwards. Following steps will guide you on how to apply an OPA policy to an API. Run OPA as a server using Docker. …

Wso2

3 min read

Open Policy Agent (OPA) Support in WSO2 API Manager
Open Policy Agent (OPA) Support in WSO2 API Manager
Wso2

3 min read


Nov 18, 2022

How to Pass End-User Attributes to the Backend in WSO2 API Manager

Get this sample code and modify the CustomGatewayJWTGenerator.populateStandardClaims() method as below. @Override public Map<String, Object> populateStandardClaims(JWTInfoDto jwtInfoDto) { Map<String, Object> claims = super.populateStandardClaims(jwtInfoDto); claims.put("custom-attribute", "123"); return claims; } 2. Run mvn clean install and generate the jar file. 3. Copy CustomGatewayJWTGenerator-1.0-SNAPSHOT.jar to <APIM_HOME>/repository/components/dropins directory.

Wso2

1 min read

Wso2

1 min read


Nov 2, 2022

Using REST APIs to Manage Lambda APIs in WSO2 API Manager

In this article, I discuss how to use WSO2 API Manager’s Publisher APIs to create and update Lambda APIs — WSO2 API Manager has built-in REST API support for managing all the tasks in the product and you can refer its docs for more information. As you already know, Publisher Portal is used to manage the life cycle of APIs such as create, update, deploy, and delete. Similarly, we can…

Wso2 Api Manager

3 min read

Wso2 Api Manager

3 min read


Published in

AWS Tip

·Oct 13, 2022

Enable debug logs to monitor AWS Lambda function invocation in WSO2 API Manager

In this article, I discuss how to enable AWSLambdaMediator and AWS SDK debug logs to monitor AWS Lambda requests/responses — There are two types of logs that you can enable to monitor logs related AWS Lambda function invocation. AWSLambdaMediator logs AWS SDK logs 1. Enabling logs for AWSLambdaMediator AWSLambdaMediator class handles Lambda function invocation using the AWS SDK. It provides some useful logs such as the payload, access method, and status. …

Wso2

1 min read

Wso2

1 min read


Sep 30, 2022

Custom mediator to handle AWS Lambda responses in WSO2 API Manager

In this article, I discuss how we can modify responses using the http status code and the payload of AWS Lambda responses in WSO2 API Manager — AWS Lambda as an Endpoint feature is very useful when it comes to utilize the benefits of WSO2 API Gateway for AWS Lambda Functions. Now, WSO2 API Manager has limited support for Lambda Proxy Integration and hence, users can pass headers and parameters to Lambda without modifying the payload. …

Wso2 Api Manager

4 min read

Custom mediator to handle AWS Lambda responses in WSO2 API Manager
Custom mediator to handle AWS Lambda responses in WSO2 API Manager
Wso2 Api Manager

4 min read


Published in

AWS Tip

·Jul 27, 2022

STS AssumeRole Support for Invoking Lambda Functions in WSO2 API Manager

In this article, I discuss how we can invoke cross-account Lambda functions using WSO2 API Manager 4.1.0 — Latest WSO2 API Manager supports AWS STS AssumeRole to invoke cross-account Lambda functions. Note that this feature is available from 27th July 2022 according to WSO2 APIM docs. 1. Create REST API without an endpoint URL 2. Add AWS Lambda Endpoint

Wso2

3 min read

STS AssumeRole Support for Invoking Lambda Functions in WSO2 API Manager
STS AssumeRole Support for Invoking Lambda Functions in WSO2 API Manager
Wso2

3 min read

Binod Karunanayake

Binod Karunanayake

45 Followers

PhD Candidate @RMIT University | Former Software Engineer @WSO2 | BSc Engineering (Hons) University of Moratuwa

Following
  • Kavishka Fernando

    Kavishka Fernando

  • Sanjiva Weerawarana

    Sanjiva Weerawarana

  • Thilina Ashen Gamage

    Thilina Ashen Gamage

  • Thamindu Dilshan Jayawickrama

    Thamindu Dilshan Jayawickrama

  • Wasura Wattearachchi

    Wasura Wattearachchi

See all (31)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams