Smart Contract Address for ChainLink FeedRegistry on the Binance Smart Chain - binance

I am looking for the address of the Chainlink FeedRegistry on the Binance Smart Chain similar to the one deployed for Ethereum https://etherscan.io/address/0x47Fb2585D2C56Fe188D0E6ec628a38b74fCeeeDf#code

The Chainlink FeedRegistry is only available for ETH Mainnet and Kovan right now.
You can find the address for all networks in reference-contracts

Related

Binance Chain Testnet airdrop or faucet programmatically

I'm looking for a way to get some Testnet tokens on Binance Chain (BNB Beacon Chain) programmatically. Currently the process for funding a Binance Chain Testnet account is rather round-about, having to first use the Binance Smart Chain Faucet and then manually doing a cross-chain transfer using Math wallet.
I'm building a wallet and would like to allows users to get some testnet tokens without going through this process and relying on other third-party tools. Is there a way to get them programmatically?
EDIT: As a matter of fact the situation is even worse, I can't even do it manually successfully. Math wallet hangs on the "Signing" transaction step, and Binance Wallet chrome extension just fails the transaction for cross-chain transfer.
How are people funding their Binance Chain Testnet accounts??

Near protocol helper url for mainnet using near-api-js

I am working on the back-end for a multi-coin wallet and I have provided support for NEAR protocol using near-api-js but I'm stuck on setting a helper url for the mainnet network. I initially used https://helper.nearprotocol.com but it seems it's a helper url for generating accounts on testnet. I switched to https://helper.mainnet.near.org but accounts cannot be generated using this helper. Is there any other way accounts can be generated on the mainnet network using the near-api-js sdk?
You have to fund accounts on mainnet to be able to create them. On testnet helper basically is running a faucet to fund accounts, it’s not available on mainnet.
What you can do to create .near accounts is to call create_account method, see example here https://github.com/near/near-wallet/blob/1fc30e26019613db0091683886615e5d4e903873/src/utils/wallet.js#L359

Ethereum ERC20 token transaction between private(Hyperledger Fabric) and public(Ethereum) blockchain

I've developed a case study based on Hyperledger Fabric using the fabric-chaincode-evm in order to develop Solidity smart contract.
Using chaincode-evm there's the Fab3 proxy in the middle between Application and Fabric Network that map the Fabric User with an ethereum address generated on the fly.
There's a way to run transaction of an ERC20 token over a public Blockchain(Ethereum) starting from my private fabric chaincode(smart contract) ?
There's some way to change the eth address generated by Fab3 proxy with my own eth address, or linking Metamask for example.

Tracking incoming transactions using nodejs and own node

I need to verify that user from my database has sent btc to my wallet.
Ideally I want to generate a unique address for each user transaction and then track all those addresses but I suppose it will be difficult to implement due to address gap limit, so I decided to just ask users for their bitcoin address and then expecting tx with funds transfer from that address to my wallet so I can verify funds were sent by them.
So let's say I want to track all txs just to my wallet address using my own bitcoin node .
As I understand, when I connect to node in live network I'll be notified about all txs that are happening in the network?
How can I validate transactions with transferring funds only to my wallet and decode address from which funds were transferred?
Are there some easy ways to implement this and maybe some code/project examples?
You should use ElectrumX protocol, its based on Satoshis Simple Payment Verification.
Its a server were you can subscribe to a Public Key so the client will receive a notification when the status of the 'script hash' changes using this method:
blockchain.scripthash.subscribe(scripthash)
You can read more on: https://electrumx.readthedocs.io/en/latest/index.html

Is it secure to run public ethereum node?

I'm creating my first Ethereum contract with truffle. I want the web application to be usable without MetaMask so I was wondering if it is a good idea to run my own private node and to
connect from the frontend like this:
this.web3 = new Web3(new Web3.providers.HttpProvider('http://my-public-ip:8545'));
Are there any security risks with this approach?
Here is how I did it, but it allows bots to steal the ether from these accounts:
I did setup publicly accessible node like this:
geth --mine --nodiscover --maxpeers 0 --networkid 1 --rpc --rpccorsdomain "*" --rpcaddr "my-public-ip" --rpcapi="db,eth,net,web3,personal,web3"
I created a new Ethereum account that is going to be my "contract owner" account
I transferred a small amount of ether into the "contract owner" account so I would have enough gas to deploy my new contract
I did setup truffle to connect to my Ethereum node
I used truffle console to unlock my account
I got the error "Error: exceeds block gas limit"
At this point I was confused, because I saw that on etherscan I have about 10USD worth of ether in my account. That should be enough to deploy my contract.
I checked etherscan again, and I saw "outgoing" transactions draining all my money from the Ethereum address. This is how the money was stolen:
A bot found out about my public Ethereum node
It connected to it and requested the account list + account balances
It started sending sendTransaction requests non stop
When I unlocked my account on the public node to deploy my contract - the bot that was using the same node also got access to my account and it transferred the funds from my account

Resources