Skip to content

Commit

Permalink
Merge pull request #106 from ardriveapp/PE-5941-upload-with-eth-sol
Browse files Browse the repository at this point in the history
docs(upload): add eth/sol signer setup PE-5941
  • Loading branch information
fedellen authored Apr 24, 2024
2 parents 641b02e + d48cc06 commit 96686c9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,20 @@ const signer = new ArweaveSigner(jwk);
const turbo = TurboFactory.authenticated({ signer });
```

or with ETH signer

```typescript
const signer = new EthereumSigner(privateKey);
const turbo = TurboFactory.authenticated({ signer });
```

or with SOL signer

```typescript
const signer = new HexSolanaSigner(bs58.encode(secretKey));
const turbo = TurboFactory.authenticated({ signer });
```

### TurboUnauthenticatedClient

#### `getSupportedCurrencies()`
Expand Down

0 comments on commit 96686c9

Please sign in to comment.