Skip to content

Commit

Permalink
Merge pull request #45 from timothymcmackin/remove-web3
Browse files Browse the repository at this point in the history
Remove references to web3.js unless we are using it directly
  • Loading branch information
napalmpapalam authored May 29, 2023
2 parents 5e0258c + 2f9a2f4 commit ed7435c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/nft-checkout/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { utils } from "ethers";
const CONTRACT_ADDRESS = "0x77fedfb705c8bac2e03aad2ad8a8fe83e3e20fa1"

const sendTransaction = async () => {
// Connect to the Metamask wallet in the browser using Web3.js, using the MetamaskProvider interface to limit bundle size.
// Connect to the Metamask wallet in the browser, using the MetamaskProvider interface to limit bundle size.
const provider = await createProvider(MetamaskProvider)

// Initialize the object that represents the transaction operation, in this case on EVM.
Expand Down
2 changes: 1 addition & 1 deletion packages/provider/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { createProvider } from '@rarimo/provider'
import { MetamaskProvider } from '@rarimo/providers-evm'

const getMetamaskWalletAddress = async () => {
// Connect to the Metamask wallet in the browser using Web3.js, using the MetamaskProvider interface to limit bundle size.
// Connect to the Metamask wallet in the browser, using the MetamaskProvider interface to limit bundle size.
const provider = await createProvider(MetamaskProvider)
await provider.connect()

Expand Down
2 changes: 1 addition & 1 deletion packages/provider/src/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export type CreateProviderOpts = {
* import { MetamaskProvider } from '@rarimo/providers-evm'
*
* const getMetamaskWalletAddress = async () => {
* // Connect to the Metamask wallet in the browser using Web3.js, using the MetamaskProvider interface to limit bundle size.
* // Connect to the Metamask wallet in the browser, using the MetamaskProvider interface to limit bundle size.
* const provider = await createProvider(MetamaskProvider)
*
* // Get the address of the wallet
Expand Down
2 changes: 1 addition & 1 deletion packages/providers-evm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { createProvider } from '@rarimo/provider'
import { MetamaskProvider } from '@rarimo/providers-evm'

const getMetamaskWalletAddress = async () => {
// Connect to the Metamask wallet in the browser using Web3.js, using the MetamaskProvider interface to limit bundle size.
// Connect to the Metamask wallet in the browser, using the MetamaskProvider interface to limit bundle size.
const provider = await createProvider(MetamaskProvider)
await provider.connect()

Expand Down

0 comments on commit ed7435c

Please sign in to comment.