The power of MEM in 2 minutes. ⚡
@pbillingsby_ explains the feature set, contract syntax, and the depth of integrations available.
Register for the beta: mem.tech
Guides and examples: mem.tech/learn
New MEM education hub just dropped 📚
mem.tech/learn
If you're new to MEM or discovering it via @permahacks, this is the best way to get up to speed with examples, guides, dApp templates, and theory.
MEM doesn't just excel for web3-specific use cases -- it can also replace Heroku and other PaaS in your stack 😉
Heroku's last rugpull discontinued its free services, impacting students, hobbyists, and developers who relied on the platform for experimenting with their applications.
Here's an alternative with MEM: develop permanent applications with equivalent scalability and core functionality, without the subscription fee.
MEM is a serverless functions network that uses @ArweaveEco for storage, ensuring data security and permanence. Unlike traditional PaaS like Heroku, which no longer has a free plan and is deleting inactive accounts, MEM guarantees that apps built on its platform won't lose data, be erased, or kick out users.
But it's not just about storage guarantees and cost-saving - it's also about simplicity and efficiency. For instance, an Express.js API server on Heroku can be significantly streamlined on MEM. The same application logic can be condensed into a single file using MEM's serverless functions and doesn't burden the developer with devops and infrastructure management.
This article compares how an API server is built and deployed on both MEM and Heroku and serves as a tutorial to make the switchover:
mirror.xyz/decentlandlabs.et…
MEM quickstart guide ⚡
Based on feedback from @Permahacks participants, we're making a bunch of improvements to the docs, starting with this guide to go from 0 to 1 with MEM as fast as possible.
Build your first dApp today: docs.mem.tech/quickstart/qui…
The MEM testnet (Carbon) just went live. ⚡️🔌
No more whitelisting to test in a production environment!
Just hit the mem-testnet.xyz endpoint to deploy and write to testnet functions.
Full examples in the docs: github.com/decentldotland/me…
1/ AO was unveiled yesterday by @fwdresearch.
The vision: to do for compute what early internet protocols did for data transmission.
Here's what we know about AO and how MEM ties in...
Brilliant to see MEM-powered token gating in beta for Akord vaults!
A great way for DAOs to manage access to internal documents, for creators to reward holders with bonus content, and so much more.
Congratulations on the feature launch @AkordTeam! 🩷
p.s: we published a short case study while this feature was in development to share why Akord chose MEM to bridge the gap between Arweave, Ethereum and Solana 👇
mirror.xyz/decentlandlabs.et…
🚀 New Feature Incoming!
We’re excited to announce that in collaboration with @mem_tech we’re launching Token-Gated Access (TGA) in private Beta! With TGA, you can use Ethereum ERC20 and ERC721 tokens to gate access to your private vaults on Akord.
🐘🌞Arweave and Solana NFTs will be supported in the near future. This is just the start!
👩🔬Interested in beta testing? We're specifically looking for web3 creators to help in our testing. Your feedback will be invaluable! Reach out to us on Discord:
discord.com/invite/DVkyUtcKG…
💡Get inspired with how creators like @hollowlegcomics will be using this feature to offer exclusive content to their audience. Check out his story:
akord.com/blog/building-a-le…
MEM 🤝 @aoTheComputer
With this molecule, MEM can now read and compute with ao process states.
This is going to be vital infra for the upcoming MEM <> ao bridge going live in the next couple of weeks 👀
github.com/decentldotland/mo…
📢 @ArweaveEco has been building something incredible:
A hyper parallel computer living inside Arweave.
PoS computation that lets any number of processes execute in parallel.
Oh, and it offers temporary storage.
All on Arweave.
Testnet: Live.
Join us: 2/27.
@aoTheComputer.
A significant leap in the MEM ecosystem, and for Arweave overall. MEM's serverless functions will now integrate native financial features, not only for MEM but also extendable to other protocols 👀
Which ERC20, and L1/L2 networks would you like to see the bridge supporting?
@mem_tech has partnered with @KwilTeam
We chose Kwil for building the MEM explorer because we want to build on the most #decentralized stack possible.
With Kwil, you are able to query indexed MEM transactions instantly vs. the several seconds it would take directly from an L1 #blockchain ⚡️
kwil.com 🤝 mem.tech
MEM contracts now offer a foundational piece for handling and validating payments on various digital platforms
@no_ramp allows users to use credit cards to pay for gas fees and crypto payments without ever having to deal with a CEX or DEX and eliminating roadblocks for web 2 users
You can now easily accept #Fiat payments from users directly, off-chain, and communicate data on-chain to trigger a transfer of digital assets to the destination wallet
Checkout the 🆕 molecule.shgithub.com/decentldotland/no…
The hyper parallel computer boots up at 1pm EST tomorrow.
If you haven't already activated your pass code, please do so now. Joining instructions will be delivered shortly.
See you inside.
Meet the MEM IDE!
We’ve rolled all the MEM dev tools all into a single web app so you can just drop into a playground environment and start building, without having to learn the CLI, API, or dive deep into contract syntax.
The IDE is set up so you can clone templates, learn by example, and go from 0 to 1 with MEM ⚡️
Get the full tutorial and contract examples here: mirror.xyz/decentlandlabs.et…
Fetch token price data from inside MEM contracts with the @redstone_defi oracle molecule. 🔮
The @ArweaveANS contract uses this feature to allow minting ANS names in AR.
Just use MEM's deterministicFetch feature to GET the molecule endpoint: redstone.molecule.sh/redston…
> as long as storage is immutable and transactions are traceable then computing apps will result in the same end goal. This means that we’ll be able to achieve consensus without the need of distributed computing
This is a powerful concept and an underpinning philosophy of MEM ⚡️
1/2 This is my speech at Arweave Day in Asia. Arweave + Permaweb + SCP have solved the scalability issues that Ethereum has faced for many years, and they've done it by charting their own path in blockchain scalability rather than building upon Ethereum.
There's now a dedicated repo for MEM example contracts to provide easy access to common design patterns:
CRUD, calling APIs with determinsticFetch, EVM signing...
And, with the launch of the MEM IDE, it's easier than ever to get started.
buff.ly/3Ek8rju
Multi-chain authorization in MEM smart contracts allows users from Arweave, EVMs and Solana to all use the same functions, opening dApps up to any ecosystem!
Powered by @decentlandlabs - molecule.sh ⚡️
docs.mem.tech
> Web2.5 merges web2's UX and adoption potential with web3's transparency, sensible primitives, and open standards.
Build user-centric, chain-agnostic web2.5 dApps with mem.tech
Read more on how we think about web2.5:
hackernoon.com/web25-combini…
The first version of the MEM SDK is now live, making it easier than ever to read and write web3 serverless functions in your server-side or front end code.
.deploy
.write
.read
Check the announcement post for more info + a Next.js example: blog.mem.tech/mem-sdk-announ…
The MEM CLI now supports paths to initial states or stringified JSON. This is handy if you're looking to import a large state from another contract - just save it as a file and pass the path.
We also added support for @irys_xyz to make deployed contracts instantly available on the arweave.net gateway.
Install and start deploying: github.com/decentldotland/me…
HackerNoon is live with the MEM-powered web3 IDs!
A perfect example of how MEM can slot into existing web2 tech and bridge the gap for platforms looking to make the leap into web3.
Excited to watch the adoption of this feature take off 🔥
🎉 We partner with @NameSpace_ID to offer FREE minting of web3 identities for its 50,000+ contributors.
😎 @hackernoon's web3 identities enable users to map their HackerNoon profiles to a wallet of their choice. Thanks to our partnership with @NameSpace_ID by @decentlandlabs, these wallets no longer need to be remembered as long text strings.
🔥 Claim Your Decentralized ID now!
hackernoon.com/how-to-mint-y…
Molecules make it possible to use authentication and identity from 14 chains in MEM contracts.
Deploy MEM as a layer on top of your existing smart contracts, or use it standalone. Plug in any identity standard you need. 🔌
Browse all MEM integrations: buff.ly/3LieE35
MEM 🤝Akord
Akord is building token-gated vaults with MEM -- dynamically decrypt Arweave data based on a user's Ethereum token balances.
"MEM aligns perfectly with our needs due to its ability to execute serverlessly while storing critical state changes securely on the blockchain. We considered alternative solutions, but MEM emerged as the most efficient and reliable choice for our use case" - Richard (@arsydotorg), co-founder @AkordTeam
Keep an eye on the Akord web app - token-gated vaults will launch to the public soon(™️).
Read the case study and get inspiration for your own MEM use cases:
mirror.xyz/decentlandlabs.et…
Merged. 🤝
3em now has support for the SmartWeave.kv feature thanks to the team at @decentlandlabs
This enables developers using 3em and MEM to read and write data to Arweave more efficiently.
Instead of processing the entire MEM contract state for each action, key-value storage enables devs to store or read only the exact piece of data they need (at O(1), not O(n) 🤓).
This is perfect for databases which require ACID properties and other use cases where performance is top priority.
github.com/three-em/3em/pull…
Introducing key-value (KV) storage support for MEM 🔑💾
KV is the most efficient way to work with large contract states - perfect for ACID databases, real-time apps, caches, social, content management, and more.
It enables read and write for *specific* portions of the state during any interaction, eliminating the need to process the whole JSON object, and maximizing the performance of your dApp.
Get started:
docs.mem.tech/3em-mem/key-va…
To support KV, MEM upgraded to use 3em v0.3.23, with contributions from @decentlandlabsgithub.com/three-em/3em/rele…
As the web evolves, we don't merely discard old structures; we integrate what's effective into the 🆕 and refine what isn't.
mem.tech advances the development landscape by offering a seamless integration of Web2 user-centricity with Web3's transparent principles.
How does @mem_tech help developers overcome common challenges in both web2 and web3? 🤔
Discover how MEM addresses issues relating to scalability, transparency, authentication, cost-effectiveness and more👇
pbillingsby.hashnode.dev/ser…
How does MEM's architecture - the Verifiable Atomic Computing Paradigm - compare to zk and optimistic rollups?
This is a question we hear often, so decided to do a full breakdown: VACP vs Optimistic & ZK.
Write and deploy powerful #web3 protocols in days, not weeks, with @mem_tech
Web2 devs can now tap into the power of web3 with Arweave based smart contracts written in any language
Check out the simple paste-bin clone example to get started...
docs.mem.tech/examples/simpl…
Join the crew of beta testers: mem.tech
An awesome opportunity to join a smart community of builders (and win prizes + investment!).
We're offering a bounty for the best submission using MEM. Apply below 👇
Attention PermaHackers! 🤖 📢
We've got $20,000 in prizes and incredible partners in the #Arweave ecosystem making it all happen - for you 🫵
🎥🔻 Let's meet the powerhouses behind the scenes!
🌀 Apply to hack here: permahacks.arweave.dev/
MEM now has local testnets, making it possible for anyone to battle test MEM contracts without deploying (and redeploying...!)
Just supply contract source, test data, and cases in one script, and run it. ⚡
Full example in the README. Try it out:
github.com/decentldotland/me…
The MEM testnet (Carbon) just went live. ⚡️🔌
No more whitelisting to test in a production environment!
Just hit the mem-testnet.xyz endpoint to deploy and write to testnet functions.
Full examples in the docs: github.com/decentldotland/me…
MEM will power token-gated decrypt of @ArweaveEco data for ShardDog (based on the .near address connected in the webapp!)
Super excited to see this partnership with an awesome team on the cusp of going live 🙌
Encrypted Content Gating
People can only see your ShardDog Channel content if they hold your ShardDog NFT.
Why's this matter?
It will allow for creators to start thinking about business models around their ShardDog Channels👀
MEM infra on @akashnet!
As we move MEM towards its decentralized endgame, we're migrating core pieces of the stack to Akash Network, introducing improved redundancy, reduced single failure points, and censorship resistance. 👇
mirror.xyz/decentlandlabs.et…
In-depth tutorial on using Ethereum authentication inside MEM functions 👇 thanks @pbillingsby_!
By default MEM functions are fully public and anonymous, but can be written to require signatures from pretty much any chain. This unlocks access control, ownership, and attribution.
Streamline blockchain authentication by using @mem_tech! 🧠
Follow this guide to find out how MEM simplifies the process for developers to authenticate Ethereum users in applications using molecule.sh ⛓️
pbillingsby.hashnode.dev/eth…
The first version of the MEM SDK is now live, making it easier than ever to read and write web3 serverless functions in your server-side or front end code.
.deploy
.write
.read
Check the announcement post for more info + a Next.js example: blog.mem.tech/mem-sdk-announ…
💡 MEM tip: cross-contract calls (XCC).
Read and write between MEM contracts over API using deterministicFetch.
Learn more about deterministicFetch here: docs.mem.tech/molecules/usin…
Been an amazing last 2 weeks 🙌
Thank you to all the people & co-sponsors who helped make this a success and OFC the hackers who chose to use mem.tech in their builds! GOOD LUCK
Let’s continue to build an open #permaweb together 🤝
Less than 2 weeks left to register for Hack The Weave and build towards bounties with MEM and these great partners!
signup -> weaversofficial.com/hackatho…
OFFICIAL HACKATHON PARTNERS 🔥👥
Hack The Weave is thrilled to announce our powerhouse partners from the #Arweave Ecosystem.
Ready to build with the best? 👇
MEM contracts can deterministically read data from any API, opening up a ton of new use cases:
🪪 DID platforms like @namespace_id
✍️ Content publishing protocols like @permacastapp
🪙 Multichain payment processing, with @everVision's everPay.io
Serverless function platforms are usually opaque systems with no way to externally verify execution and the resulting state.
MEM introduces a paradigm shift where contracts and states are permanently recorded on Arweave:
pbillingsby.hashnode.dev/ser…
We are inviting the MEM community to join in reviewing and contributing to the MIP-3 spec.
This proposal sets the standards for upgrading MEM serverless functions, covering both state and source code modifications.
Come listen to Arweave’s Voice as we discuss🎙️ Molecular Execution Machine and the highlights of its framework docs.mem.tech
🗓️ Wednesday 🕑 2pm UTC
@decentlandlabs
1/ Arweave's Voice - Twitter Space Announcement 🚨
We're coming up on our 15th Arweave's Voice and we're hosting a special episode to celebrate! 🔥 Join us Wednesday 2PM UTC together with @decentlandlabs to discover @mem_tech - their latest release! 🧬
nitter.app/i/spaces/1lPKqBOerQNGb
What is MEM? Here's a compact audio summary, cut from the recent @decentlandlabs space on radical composability.
Serverless functions + Arweave storage + any API integration. ⚡️
It's gonna be radical, you should be there #Permaweb
Our friends @KwilTeam & @everVisionHQ will be joining @mem_tech and the @decentlandlabs founders to chat about 'Composability'
📻 TUNE IN
Wednesday 🗓 August 23rd ⏰ 2pm UTC
nitter.app/i/spaces/1dRKZMY…
We will be discussing #Arweave and beyond
The future is multi-chain...
💡Quick MEM tip
Use the @redstone_defi oracle directly inside a contract.
Learn more about the determinsticFetch feature and try it in the browser at mem.tech/features/determinis…
Smart contracts are usually unable to pull data from outside their own environment, limiting the flexibility of onchain apps. ❌
Learn how to use data from any chain, oracle or API inside MEM contracts and break down data siloes. 👇
mirror.xyz/decentlandlabs.et…
MIP-3 has now been merged, providing the option for MEM functions to be marked upgradable when deployed. 🔼⚙️
This enables developers to migrate a function's code or state while retaining its original ID.
Multichain interoperability, token gating, fiat payments, and more. Learn how molecules enhance the capabilities of trustless dApps.
> "With molecules, MEM can call any data source instead of being limited to it's own siloed data" - @pbillingsby_mirror.xyz/decentlandlabs.et…
Here's a MEM function to log @ArweaveEco endowment contributions:
github.com/decentldotland/en…
The function accepts retroactive contributions, allowing the submission of TXIDs from before its deployment.
We also created a script you can run locally to donate $AR:
ANS has donated 10 AR from its protocol treasury to the @ArweaveEco endowment, and will continue to donate 1.5% of proceeds monthly to contribute to the strength of the permanent storage it relies on.
viewblock.io/arweave/tx/B8uM…
Time is ticking ⏳, hope you devs work weekends...
We are available in discord.gg/decentland all weekend. Feel free to reach out with any questions, good luck #permaweb!!!
Generate a haiku and store it on-chain. 🍂
MEM's deterministicFetch feature can call any API, compute with the data and store it permanently on Arweave.
Learn more about the feature and play with the haiku app: bit.ly/3KNMkWb
🧱 Anatomy of a MEM project
A MEM project consists of two files.
* contract.js - the main body of contract code
* state.json - the object which stores contract state, global variables and the ABI
Launch the guestbook example to see in the IDE:
mem.tech/ide?launchExample=g…
MEM can be used walletlessly, BUT developers can also plug in signature authentication from EVM, Arweave, and 13 non-EVM chains including Solana, Polkadot, Tezos and ICP.
Bring your own identity.
THE PERMAHACKS HACKATHON IS HERE!
💡 Innovate, create, and win $20,000!
👩💻 Developers, Designers, Dreamers - All are welcome!
🤝 Mentorship from top Arweave ecosystem players
🗓️ Save the date: 30 Oct - 10 Nov
Apply now 👇
permahacks.arweave.dev/
The MEM IDE v2 is live: mem.tech/ide
v2 features Carbon Testnet support, full KV support, and a 60% speed boost.
Now you don't even need a development environment to build and deploy to MEM.
Here's how we think about MEM in the wider context of smart contracts and serverless functions. 🧠
Typical serverless function platforms are black boxes, with no way to independently verify the code that's running and the state that code produces. MEM contracts and states are permanent and open on Arweave and can be trustlessly evaluated.
The MEM orchestrator is a centrally hosted node which enables scalability similar to serverless platforms like AWS Lambda -- but with the transparency of a smart contract.
And soon it will be possible to spin up dedicated instances of MEM, preparing the network for decentralisation. ⚡️
Dive into the docs to learn more about the use cases MEM solves: docs.mem.tech/introduction/u…
The updated MEM API is live with a new endpoint: super-state.
The super-state read method:
1. returns large contract states more efficiently
2. returns contract metadata like tx count, last timestamp, and the @irys_xyz bundle ID the state is packaged in
code + docs: github.com/decentldotland/me…
metadata example: mem-api.com/super-state/VeJ1…
GET PAID TO LEARN ARWEAVE TOOLING 🦾🚀
We have $20,000 in prizes from top ecosystem partners for our PermaHackers - yes you!
Hit the link to apply now, and don't forget to check out the exciting bounties while you're there! 🏅✍️
🌀 permahacks.arweave.dev/
#5: The ANS contract
Arweave Name Service is a tradeable DID system on MEM powered by @everVisionHQ's everPay and the @redstone_defi oracle as a way of enabling payments in AR.
github.com/decentldotland/AN…
The IDE is the easiest way to write and test MEM functions. Get started with this tutorial from @pbillingsby_, complete with examples to run:
pbillingsby.hashnode.dev/sma…
MEM makes it easy to write and deploy lightning-fast dApps in almost any language: JS/TS, Rust, Solidity, C/C++, Vyper... anything that compiles to WASM.
✨ MEM contract examples
The mem-examples repo comes with 5 contracts + README explanations of how each work (github.com/decentldotland/me…)
Check the megathread for more, including some more complex production contracts:
Building on MEM has several advantages over web2:
1. No need to deploy and manage API servers
2. Application state and all content is stored for free on Arweave forever
3. Web3-ready - plug in authentication, encryption, token-gating and more
#2: Multichain identity attestation
This contract powers Ark Protocol, a way to create on-chain identity proofs between chains. The use case is uniquely enabled by MEM because contracts can be signed by users on 14 different EVM and non-EVM networks.
github.com/decentldotland/ar…
#1: Arweave social metadata layer
This MEM contract is a layer on top of @ArweaveANS to power CRUD for social metadata like bio, nickname, pfp, banner and website links. It also implements a simple social graph, with follow/unfollow.
github.com/decentldotland/AN…
🔑 API-accessible key-value registries secured by Arweave
🔌 Microservices reading from both web3 and web2 sources
💵 Fiat payments for contract interactions via Stripe or @no_ramp
Awesome to this innovative use of the MEM-powered @NameSpace_ID contract as the basis for a decentralised package registry.
Congratulations on the @permahacks win @K4y1s 🎉
The testnet wipes its memory every 2 days but works the same as mainnet in every other way. With it, you can deploy and test functions before submitting them to mainnet, eliminating guesswork and waiting times.
Example testnet state to query: mem-testnet.xyz/state/bfb10f…
Build your dApp with identity primitives from any chain, or go fully walletless.
See how, complete with examples and a web-based sandbox: mem.tech/features/multichain…