Skip to content

Commit 577237c

Browse files
committed
Merge remote-tracking branch 'origin/main' into dc-vstorage-guide
2 parents 552c2f5 + 8d909e6 commit 577237c

File tree

14 files changed

+754
-689
lines changed

14 files changed

+754
-689
lines changed

main/.vitepress/config.mjs

Lines changed: 320 additions & 232 deletions
Large diffs are not rendered by default.

main/.vitepress/styles/index.styl

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -157,36 +157,6 @@ div[class*="language-"].secondary
157157
div[class*="language-"].secondary.style3 pre
158158
background-color bisque
159159

160-
.page
161-
max-width: 1280px
162-
margin: 0 auto
163-
padding: 20px 0 100px 0
164-
165-
h1, h3
166-
margin-top: 1em
167-
margin-bottom: 0.25em
168-
font-weight: 600
169-
line-height: 1.25
170-
h1
171-
color: #2c3e50
172-
font-size: 2.2rem
173-
h3
174-
font-size: 1.35rem
175-
a
176-
color: #d73252
177-
178-
@media (max-width: 1280px)
179-
padding: 1.5rem
180-
181-
@media (max-width: 768px)
182-
h1
183-
font-size: 1.75rem
184-
h3
185-
font-size: 1.1rem
186-
a
187-
color: rgb(171, 35, 40)
188-
font-weight: 500
189-
190160
.dark
191161
.page
192162
h1

main/.vitepress/themeConfig/nav.js

Lines changed: 50 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,51 @@
66

77
export const nav = [
88
{
9-
text: 'Getting Started',
10-
ariaLabel: 'Getting Started Menu',
11-
link: '/guides/getting-started/',
12-
},
13-
{
14-
text: 'Agoric Components',
15-
ariaLabel: 'Agoric Components Menu',
9+
text: 'Learn',
1610
items: [
1711
{
18-
text: 'ERTP',
19-
ariaLabel: 'ERTP',
20-
link: '/guides/ertp/',
12+
text: 'What is Agoric?',
13+
link: '/what-is-agoric',
2114
},
2215
{
23-
text: 'Zoe',
24-
ariaLabel: 'Zoe',
16+
text: 'Zoe Smart Contract Framework',
2517
link: '/guides/zoe/',
2618
},
19+
{
20+
text: 'ERTP',
21+
ariaLabel: 'ERTP',
22+
link: '/guides/ertp/',
23+
},
2724
{
2825
text: 'Smart Wallet Dapp Architecture',
2926
ariaLabel: 'Smart Wallet Dapp Architecture Menu',
3027
link: '/guides/getting-started/contract-rpc',
3128
},
29+
{
30+
text: 'Smart Wallet',
31+
ariaLabel: 'Smart Wallet Internal Documentation',
32+
link:
33+
'https://github.com/Agoric/agoric-sdk/blob/master/packages/smart-wallet/README.md',
34+
},
35+
{
36+
text: 'JavaScript Framework',
37+
ariaLabel: 'JavaScript Framework',
38+
link: '/guides/js-programming/',
39+
},
40+
{
41+
text: 'Papers',
42+
ariaLabel: 'Papers Page Link',
43+
link: 'https://agoric.com/papers/',
44+
},
45+
],
46+
},
47+
{
48+
text: 'Build',
49+
items: [
50+
{
51+
text: 'Getting Started',
52+
link: '/guides/getting-started/',
53+
},
3254
{
3355
text: 'Example Zoe Contracts',
3456
ariaLabel: 'Example Zoe Contracts',
@@ -44,17 +66,6 @@ export const nav = [
4466
ariaLabel: 'Permissioned Contract Deployment',
4567
link: '/guides/coreeval/',
4668
},
47-
{
48-
text: 'JavaScript Framework',
49-
ariaLabel: 'JavaScript Framework',
50-
link: '/guides/js-programming/',
51-
},
52-
],
53-
},
54-
{
55-
text: 'Reference',
56-
ariaLabel: 'Reference Menu',
57-
items: [
5869
{
5970
text: 'Glossary',
6071
ariaLabel: 'Glossary Menu',
@@ -78,42 +89,32 @@ export const nav = [
7889
],
7990
},
8091
{
81-
text: 'New Features',
82-
ariaLabel: 'New Features Menu',
92+
text: 'Tutorial',
93+
link: '/guides/getting-started/',
94+
},
95+
{
96+
text: 'Support',
8397
items: [
8498
{
85-
text: 'Patterns',
86-
ariaLabel: 'Patterns Source Code Link',
87-
link:
88-
'https://github.com/Agoric/agoric-sdk/blob/master/packages/store/src/types.js',
99+
text: 'Agoric',
100+
ariaLabel: 'Agoric Homepage Link',
101+
link: 'https://agoric.com/',
89102
},
90103
{
91-
text: 'Smart Wallet',
92-
ariaLabel: 'Smart Wallet Internal Documentation',
93-
link:
94-
'https://github.com/Agoric/agoric-sdk/blob/master/packages/smart-wallet/README.md',
104+
text: 'Discord',
105+
link: 'https://agoric.com/discord',
95106
},
96107
{
97-
text: 'Upgrading Contracts',
98-
ariaLabel: 'Upgrade Contracts Doc Link',
99-
link:
100-
'https://github.com/Agoric/agoric-sdk/blob/master/packages/zoe/README.md#upgrade',
108+
text: 'Github Discussions (Q&A)',
109+
link: 'https://github.com/Agoric/agoric-sdk/discussions',
101110
},
102-
],
103-
},
104-
{
105-
text: 'Learn More',
106-
ariaLabel: 'Learn More Menu',
107-
items: [
108111
{
109-
text: 'Agoric',
110-
ariaLabel: 'Agoric Homepage Link',
111-
link: 'https://agoric.com/',
112+
text: 'Office Hours',
113+
link: 'https://github.com/Agoric/agoric-sdk/wiki/Office-Hours',
112114
},
113115
{
114-
text: 'Papers',
115-
ariaLabel: 'Papers Page Link',
116-
link: 'https://agoric.com/papers/',
116+
text: 'Twitter',
117+
link: 'https://twitter.com/agoric',
117118
},
118119
{
119120
text: 'YouTube',
152 KB
Loading
211 KB
Loading
198 KB
Loading
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Swaparoo Contract
2+
3+
## How to Swap Assets
4+
Watch this short video walk-through of the complete Swaparoo Smart Contract that allows any two parties to trade any digital assets with minimal risk.
5+
<iframe width="560" height="315" src="https://www.youtube.com/embed/qHa7u8r62JQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

main/guides/zoe/contract-basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Smart Contract Basics
22

33
Before we look at how to make a contract such as the one in [the
4-
basic dapp](./) in the previous section, let's cover some basics.
4+
basic dapp](../getting-started/) in the previous section, let's cover some basics.
55

66
A contract is defined by a JavaScript module that exports a `start` function
77
that implements the contract's API.

main/guides/zoe/contract-upgrade.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Governance of the right to upgrade is a complex topic that we cover only briefly
2020

2121
## Upgrading a Contract
2222

23-
Upgrading a contract instance means re-starting the contract using a different [code bundle](./#bundling-a-contract). Suppose we start a contract as usual, using
23+
Upgrading a contract instance means re-starting the contract using a different [code bundle](./contract-walkthru#bundling-a-contract). Suppose we start a contract as usual, using
2424
the bundle ID of a bundle we already sent to the chain:
2525

2626
```js

0 commit comments

Comments
 (0)