Skip to content

Commit

Permalink
Normalize lang in code fences
Browse files Browse the repository at this point in the history
  • Loading branch information
acuarica committed Jan 5, 2024
1 parent 9d02bb7 commit 812c44d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ npm install --global sevm

#### **Node.js**

```javascript
```js
const { EVM } = require('evm');
const Web3 = require('web3');
const web3 = new Web3(new Web3.providers.HttpProvider('https://api.mycryptoapi.com/eth'));
Expand All @@ -95,7 +95,7 @@ web3.eth.getCode('0x06012c8cf97BEaD5deAe237070F9587f8E7A266d').then(code => {

#### **Browser**

```javascript
```js
const { EVM } = window.EVM_Utils;
const web3 = new Web3(window.web3.currentProvider);
web3.eth.getCode('0x89d24A6b4CcB1B6fAA2625fE562bDD9a23260359', function (err, code) {
Expand All @@ -113,7 +113,7 @@ web3.eth.getCode('0x89d24A6b4CcB1B6fAA2625fE562bDD9a23260359', function (err, co

#### **Node.js**

```javascript
```js
const { Contract } = require('evm');
const Web3 = require('web3');
const web3 = new Web3(new Web3.providers.HttpProvider('https://api.mycryptoapi.com/eth'));
Expand All @@ -133,7 +133,7 @@ web3.eth.getCode('0x06012c8cf97BEaD5deAe237070F9587f8E7A266d').then(code => {

#### **Browser**

```javascript
```js
const { Contract } = window.EVM;
const web3 = new Web3(window.web3.currentProvider);
web3.eth.getCode('0x89d24A6b4CcB1B6fAA2625fE562bDD9a23260359', function (err, code) {
Expand All @@ -157,7 +157,7 @@ web3.eth.getCode('0x89d24A6b4CcB1B6fAA2625fE562bDD9a23260359', function (err, co

#### **Node.js**

```javascript
```js
const { Transaction } = require('evm');
const Web3 = require('web3');
const web3 = new Web3(new Web3.providers.HttpProvider('https://api.mycryptoapi.com/eth'));
Expand All @@ -173,7 +173,7 @@ web3.eth

#### **Browser**

```javascript
```js
const { Transaction } = window.EVM;
const web3 = new Web3(window.web3.currentProvider);
web3.eth.getTransaction(
Expand Down

0 comments on commit 812c44d

Please sign in to comment.