Skip to content

Commit

Permalink
udpate readme
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusmolchany committed Feb 2, 2022
1 parent 21949d4 commit 3cb8c60
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ async secureServerSideTokenGate({
Client-side / Server-side example

```ts
// client-side react
////////////////////////////////////////////////////////////////////
//////////////////////// client-side react /////////////////////////
////////////////////////////////////////////////////////////////////
import axios from "axios";
import { useState } from "react";
import { clientSideSignMessage, insecureClientSideTokenGate } from "tokengate";
Expand Down Expand Up @@ -100,7 +102,9 @@ function TokenGateButton({ signer }) {
);
}

// server-side api
////////////////////////////////////////////////////////////////////
///////////////////////// server-side api //////////////////////////
////////////////////////////////////////////////////////////////////
import { ethers } from "ethers";
import { secureServerSideTokenGate } from "tokengate";

Expand Down

0 comments on commit 3cb8c60

Please sign in to comment.