Git Product home page Git Product logo

simple-game's People

Contributors

samsiegart avatar

Watchers

 avatar

Forkers

agoric-labs

simple-game's Issues

emerynet demo note

sort of a note-to-self... to get this running on emerynet, I made this change:

diff --git a/src/App.tsx b/src/App.tsx
index 442fc5b..1aa8f1b 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -19,8 +19,8 @@ import { makeCopyBag } from '@agoric/store';
 type Wallet = Awaited<ReturnType<typeof makeAgoricWalletConnection>>;
 
 const watcher = makeAgoricChainStorageWatcher(
-  'http://localhost:26657',
-  'agoriclocal'
+  'https://emerynet.rpc.agoric.net:443',
+  'agoric-emerynet-8'
 );
 
 interface CopyBag {
@@ -72,7 +72,7 @@ const setup = async () => {
 };
 
 const connectWallet = async () => {
-  await suggestChain('https://local.agoric.net/network-config');
+  await suggestChain('https://emerynet.agoric.net/network-config');
   const wallet = await makeAgoricWalletConnection(watcher);
   useAppStore.setState({ wallet });
   const { pursesNotifier } = wallet;

`@agoric/rpc` and `@agoric/web-components` not installed

I've trying to run this repo but faced the problem below;

Error: The following dependencies are imported but could not be resolved:

  @agoric/rpc (imported by /Users/anil/WebstormProjects/agoric-samples/simple-game/src/App.tsx)
  @agoric/web-components (imported by /Users/anil/WebstormProjects/agoric-samples/simple-game/src/App.tsx)

Are they installed?
    at file:///Users/anil/WebstormProjects/agoric-samples/simple-game/node_modules/vite/dist/node/chunks/dep-df561101.js:45705:23
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async file:///Users/anil/WebstormProjects/agoric-samples/simple-game/node_modules/vite/dist/node/chunks/dep-df561101.js:45114:38
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.